TATaha Ahmed khanindeveloperblogs.hashnode.dev·Jun 13, 2022 · 5 min readuseSyncExternalStore hook in React 18 ?Before diving into the useSyncExternalStore API let us get familiar with the terms which would be useful to understand the new hook. Concurrent rendering and start transition API : Concurrency is the mechanism to execute multiple tasks simultaneously...00
TATaha Ahmed khanindeveloperblogs.hashnode.dev·Jun 13, 2022 · 3 min readWhy did useEffect replace In React 18?The useEffect Hook allows us to replace repetitive component lifecycle code. Essentially, a Hook is a special function that allows you to “hook into” React features. Hooks are a great solution if you've previously written a functional component and r...00
TATaha Ahmed khanindeveloperblogs.hashnode.dev·Jun 12, 2022 · 1 min readHow to use {useID} in React18?The useId() hook is a new way to generate a unique random Id in React 18. The useId is a new hook introduced in React 18. The useId hook helps generate a unique Id on both the client-side and server-side. The previous one was called the useOpaqueIden...00
TATaha Ahmed khanindeveloperblogs.hashnode.dev·Jun 12, 2022 · 2 min readIs Blitzjs the future?How does Blitz.js work? Fundamentally it works the same as Next.js. However, Blitz adds a novel new "zero-API" data layer, which abstracts the API layer into a compile step. As a developer, you don't need to mess with REST or GraphQL APIs. Blitz lets...00