Question, considering the game example site used in the react courses: what would be the best practice to save and read from local storage if I would have to add a functionality that saves search data upon submition and reads it from there next time user open the site, thanks.
answering the question above:
we can persist state data with zustand itself: Zustand Documentation
and if you have any typing issues read this:
reactjs - zustand typescript persist how to type store - Stack Overflow