How to implement Top-level await in Node.jsFor junior to mid-level developers, there is a common coding method of always using the await keyword strictly inside an asynchronous JavaScript function. However Top-level await is a technique that allows us to use the await keywords inside asynchro...Mar 7, 2023 · 2 min readjoshua777.hashnode.dev
How to use the useReducer hook for simple form validation in ReactThe React useReducer has always been renowned for its ability to handle complex state management as opposed to the useState hook. Quite similar to the popular Redux Library, it is React’s own inbuilt state manger meant to handle problems like prop dr...Feb 5, 2023 · 3 min readjoshua777.hashnode.dev