Today i have worked on a simple react application to understand the behaviour of React States.
State in React application represents any component state at a particular instance. Any modification/action in the UI might affect it. We prefer to keep the Dynamic data as State in React Application.
Link for Sample Practice Code: https://codesandbox.io/s/busy-butterfly-ylmk9?file=/src/App.js