when ever I update the context, each time the page reloads, how can I make a single page refresh after updating all the data in context in reactJS code example
Example: how to refresh the page using react
window.location.reload(false);
window.location.reload(false);