In this video, I have explained how to add a full page spinner for API calls or when a user is performing an action using hooks. This will help you prevent users from clicking the button twice before performing the actual action.
Demo + Source:
https://react-component-depot.netlify...
Generating Loading Image
https://loading.io/
Please subscribe to the channel for more videos - / dcoders