Hi, One important thing that we need to learn about Javascript code is how Javascript code is executed.
Every browser implement a Javascript engine and this engine re…
Don't get confused anymore about Synchronous vs Asynchronous programming
Synchronous code will start from the top of the file and execute all the way down to bottom o…
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…
Hi, if we want to open, close or show, not show some DOM element we can do this with a react local state, one handle method, a ternary condition and finally the CSS clas…