useState belongs to functional component. it doesn't merge with the old state instead it replaces the old one. but in class-based component, setState...
SPA - Single Page Application MPA - Multiple Page Application https://github.com/facebook/create-react-app Installation ----npm install...