Closed SkylerBurger closed 2 months ago
This is a great tool for state management but wow is it a huge pain to implement once your app is already drilled through. Makes it difficult to stop until the entire process is complete. This ticket will continue.
This issue was addressed in PR #43
As a developer, I want to reduce the amount of boilerplate/repeated code and prop-drilling when managing the configuration details of my application in state so I save myself from carpal tunnel.
After reviewing Redux, React Context API, and Zustand, it appears that Zustand is the simplest solution available for managing the intertwined state of settings between my
<App />
and<Settings />
components that each need to be able to access and update these values easily.https://github.com/pmndrs/zustand
<App />
and<Settings />
use the store to keep track of and update state.localStorage
is still being overwritten with the latest copy of config.