How Modern Next.js Actually Works and Interview GuideModern App Router + React Server Components + RSC Payload + Bundling + Hydration + Streaming + Prefetching Deep Dive 馃摌 How To Read These Notes These notes are structured in: 馃 Mental models firstMay 21 路 28 min readsahedthought.hashnode.dev
How useState works in React.js (Rendering, Asynchronous, Batch and more)I expect that you have basic knowledge of React.js and Hooks. I will more focus on under the hood and some interesting behaviour of useState in this blog. Hooks are really useful in functional components in React.js. useState hook is commonly used. ...Dec 5, 2022 路 5 min readsahedthought.hashnode.dev
Generator Function in JavascriptA regular function is executed based on the run-to-completion model. It cannot pause midway and then continues from where it paused. But the generator function can do it. Let's explore it with an example. //normal function function normal() { con...Nov 29, 2022 路 2 min readsahedthought.hashnode.dev
Prototype and how Class works in JavascriptI am not going to tell you what is the prototype in javascript. Let's explore it. Just create an html and js file. Add the js file to html file and run it in the web browser. function ab() { } console.dir(ab); Now check the console of your browser...Oct 2, 2022 路 3 min readsahedthought.hashnode.dev
Redux Saga With ExampleDisclaimer: I assume you know Redux in this blog. (If you don't know you can read this blog) Redux Saga is a middleware of Redux. Now, What is the middleware of Redux? The middleware of Redux is the extension between dispatching an action and the re...Jul 26, 2022 路 5 min readsahedthought.hashnode.dev