Explain Codes LogoExplain Codes Logo

Javascript

What does "export default" do in JSX?

javascript
export-default
jsx
react-components

What does ':' (colon) do in JavaScript?

javascript
object-literal-declarations
json-data-structures
destructuring

What are these three dots in React doing?

javascript
spread-operator
react
typescript

What are the actual uses of ES6 WeakMap?

javascript
memoization
garbage-collection
event-listeners

What are some methods to debug Javascript inside of a UIWebView?

javascript
debugging
web-inspector
remote-debugging

Websockets vs. Server-Sent events/EventSource

javascript
real-time-communication
server-sent-events
websockets

Websocket onerror - how to read error description?

javascript
websocket
error-handling
event-handling

$watch an Object

javascript
watching-objects
angularjs
performance-optimization

Vuejs update parent data from child component

javascript
event-handling
vuex-state-management
vuejs-best-practices

Vue: How do I call multiple functions with @click?

javascript
event-handling
vuejs
function-calls

Variable name as a string in JavaScript

javascript
callbacks
promises
functions

Vanilla JavaScript equivalent of jQuery's $.ready() - how to call a function when the page/DOM is ready for it

javascript
prompt-engineering
functions
callbacks

Using Razor within JavaScript

javascript
javascript-best-practices
razor-integration
javascript-organization

Using jQuery to center a DIV on the screen

javascript
responsive-design
promises
callbacks

Using HTML5/Canvas/JavaScript to take in-browser screenshots

javascript
responsive-design
performance
canvas

Use jQuery to hide a DIV when the user clicks outside of it

javascript
event-delegation
click-handling
responsive-design

Url Encode a string in jQuery for an AJAX request

javascript
url-encoding
ajax-requests
jquery-functions

Update style of a component onScroll in React.js

javascript
scroll-events
performance-optimization
react-components

Understanding unique keys for array children in React.js

javascript
react-key-management
performance-optimization
best-practices

Uncaught ReferenceError: React is not defined

javascript
webpack-configuration
react-integration
dependency-resolution