RRumaisainrumaisablog.hashnode.dev·Aug 17, 2023 · 2 min readuseReducer() HookWhat is a useReducer hook? It is just like useState hook but with more capabilities and for managing complex states, for managing states that are related instead of writing them separately, write together in one state, which is not possible with useS...00
RRumaisainrumaisa.hashnode.dev·Aug 8, 2023 · 3 min readuseEffect() HookWhat are effects or side effects?/ The main job of react is to bring something onto the screen, to manage state and props, to react to user input and change the UI based on user input or changes in UI based on events. Side effects are everything else...00
RRumaisainrumaisablog.hashnode.dev·Aug 5, 2023 · 2 min readuseState in react jsWhat is useState in react js? useState() is simply a hook in react js which is defined inside functional components. It is used to track the state of the function component. To use useState hook first of all we have to import it import React , {useSt...00