After updating useState defined in useContext of react with a child component, is there a way to retain the value (holds the updated value) even if it transitions to another page and reloads?
UseState "initial value" called A defined in useContext, In child component A, change it to "I changed it".
In another child component B, I want to be able to refer to the updated "changed" in useState of useContext even if it is reloaded. Is it possible with useContext?
When I looked it up, I thought it would be good to do a process called Recoil persistence, but what about ...
Or should I save it in the local strage? I want to save some personal information, so it's not very appropriate ...
If anyone knows a good way, please let me know.