The best way to use class component In ReactJS
Firstly, let's discuss what class component is all about before the code samples. Before React 16.8, Class component is the only way to track state and lifecycle on a React component. Function component was considered "state-less". You may be wonderi...
saintvandora.hashnode.dev11 min read