React-router-DOM is refreshing my context state – Reactjs
I've looked up for hours and I just can't find any solution for my problem. I'm developing an app that uses react context and I'm also using react-router-dom to navigate through my pages. This context file, has a initial state,…