Hi, the custom hooks let us to extract component logic into reusable functions and this are normal JS functions that can use other hooks inside of it.
…
Hi, is important to know how can we increment performance in our components that lives in a React application, I have a post where I made mention of react "memo" well th…
Hi, If we are working with functional components and the props of that component never change then also the input of this component will never change, we can say that th…
Hi, in this React code I have an array of objects with property name that is a string that simulate the name of the file with different extensions.
We are going to g…
Hi, as we know the React hooks are new additions to React version 16.8, and hooks help us to use a state and other features without write a class.
What exactly …
How can I add performance to my component when I’m using useEffect hook?
Well, we can tell react to skip applying an effect if certain values haven’t changed between …
2
Effects with cleanup
Some effect required cleanup, like set up subscriptions to some external data source, well in this point we need to do a clean up, because w…
Hi, the React hooks are the new addition in React 16.8 and permit us to use a state and other React features without writing a class.
Note: you can find the cod…