Within my React app and being new to React, I am using localstorage
to store some specific data that I require for page refreshes together with useEffect()
hook.
The only problem is that I would like to be able to hide this specific data, which I am assuming I can't or perhaps scramble the data in localstorage.
I basically need to persist state on page refreshes and unsure what the best approach is. The state that I require to maintain is all within the parent App.js component.
Can anyone pls assist with best practice.