How to Save React State to Local Storage (with Context API)