Articles in this series
The state is specific to the component they are in and is controlled only by the component. We can say that it is a javascript object that holds all the data that has the potential to change on state components. When the state value changes, the com...
With the useEffect hook, the properties of componentDidUpdate, componentDidMount, componentWillUnmount methods can be used. componentDidMount() : Runs when the component is first loaded, never again runs. componentDidUpdate() : Runs when the compon...
When there is a component that should not be constantly rendered, we can wrap it with React.Memo(). We can update the components wrapped with React.Memo via props. https://codesandbox.io/s/react-memo-ts1k8?file=/src/App.js Thanks for reading :)