cardinalitypuzzles / cardboard

Dashboard for managing puzzles and tracking status during a puzzle hunt
MIT License
31 stars 21 forks source link

Stop using Redux for client-side state management #774

Open akirabaruah opened 5 months ago

akirabaruah commented 5 months ago

It seems like overkill for this project's use case.

It's questionable whether we need complex client-side state management at all, since the app is very CRUD-y. In https://github.com/cardinalitypuzzles/cardboard/issues/714#issuecomment-1906559411, I mentioned HTMX as an option to reduce complexity and keep state entirely in the backend as the source of truth.

Another less-invasive option might be to use Zustand (https://github.com/pmndrs/zustand) instead of Redux as a lighter weight client state management solution.