React 19 WalkthroughReact 19 will be released in the upcoming months. This release consists of a lot of new features such as:- - use api- actions (useTransition, useActionState, useFormStatus, useOptimistic)- support for meta tags- stylesheet support Additionally th...Jul 10, 2024 · 1 min readgauravsen.hashnode.dev
The useState hook - A comprehensive guideWhat is a state? Before we dive deep into the useState hook let’s first understand the term state. State represents information about something at a given point in time. For example, let’s consider a textbox. Initially, there is nothing inside this t...Aug 8, 2022 · 8 min readgauravsen.hashnode.dev
Array. prototype. at() - An intuitive way to retrieve elementsThe array.prototype .at() method accepts an integer and returns the value at that index. Usage const colors = ["red", "blue", "green", "yellow"]; console.log(colors.at(1)); // blue If no value is found at the specified index, this method returns un...Jul 16, 2022 · 2 min readgauravsen.hashnode.dev