JavaScript


Meet React useEvent(): The Latest and Greatest React Hook

Hailed as the “missing piece in the original Hooks release”, useEvent() will change the way you write modern React.

reacthooksjavascript

How to Change an HTML Selected Option Using JavaScript

A tutorial on changing an HTML selected option with JavaScript.

javascripthtmlwebdev

How to Set Up Your TCP Client/Server App with Node.js from Scratch

A step-by-step guide on setting up your own TCP client/server application with Node.js.

nodejsjavascripttcp

Destructuring Function Parameters in JavaScript

An introduction to destructuring function parameters for beginners

javascriptcodingprogramming

How to Convert a Date String to Timestamp in JavaScript?

Different ways of converting a date string to a timestamp in JavaScript.

javascripttimestamp

How to Get the Difference Between Two JavaScript Objects

Get the list of the keys that are different between two objects using the Lodash isEqual method.

javascriptobject-methodsweb-development

How to Make a JavaScript Function Wait Until an Element Exists Before Running it?

javascriptwebdev

Object Literals Using Object Property Shorthand

How the object property shorthand in JavaScript makes our code concise.

javascriptobject-literalsobject-methods

Advanced Page Transitions in Next.js with Router Events and GSAP

nextjsreactgsap

Build a Custom Theme Provider Using React's Context API

Add support for switching themes in your React App - no libraries, from scratch, in a simple way. All we need is React's Context API and CSS.

reacttypescriptcss