Could someone help me prevent the page from reloading after an API request? Do you know how to manage this behavior correctly?
https://github.com/desioncezar/react-how-prevent-page-reload
I created 3 different react implementations (Hook component, Class component, query component) to add a new option in a dropdown component without reloading the page.
New contributor
desioncezar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.