The state of the app becomes more and more complex and causes unnecessary re-renders and requests, partially because it's handled locally by different pages and components.
To reduce complexity and improve performance, global state should be implemented and handled with Zustand.
The state store and actions should be well-tested with unit tests! This is very beneficial to have peace of mind.
Base setup was started in #197
More details of architecture, tbd.
The state of the app becomes more and more complex and causes unnecessary re-renders and requests, partially because it's handled locally by different pages and components.
To reduce complexity and improve performance, global state should be implemented and handled with Zustand.
The state store and actions should be well-tested with unit tests! This is very beneficial to have peace of mind.
Base setup was started in #197
More details of architecture, tbd.