Working with React useEffect & local storage – Reactjs
I've never worked with local storage in combination with React. My goal is simple: When users complete a test, localstorage should store a value saying they've completed the test. If the completedTest State is true, show a ShowResultsComponent. Showhow I…