Hi, now we know about the call stack and memory heap, but sometime we will find the definition of stack overflow (not the web site), let me explain what cause the “stack…
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…
Hi, before I explain this programming methods, we need to know how the program is executed. The time in which a program runs in a operating system or environment is call…
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…
Parentheses strings are strings containing only the characters '(' and ')'. A parentheses string is considered balanced when its opening parentheses align with its closi…
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…