use search engine to learn hook and axios for clean up and reuse.
Worked on refine the code to deal with the user interacting when type when render components.
Create the init instance when it mount.
Added isLoading to make sure the axios instance. One reason is that useEffect mount on when user doing get url on render to get data.
Watch variables and mount interceptors that check for the token expire. If events it will change in interceptors and clean up.