api-layer icon indicating copy to clipboard operation
api-layer copied to clipboard

Migrate to Redux Toolkit

Open taban03 opened this issue 1 year ago • 0 comments

We are using plain Redux to create actions, reducers and configuration of the Redux store. The Redux team implemented a library called Redux Toolkit that streamlines the development. It offers a more user-friendly API for defining actions, reducers and middleware (handled by configureStore, that is replacement of the deprecated createStore we are currently using, https://redux.js.org/api/createstore), simplifying the setup and reducing boilerplate code.

We might even consider moving to different solution for the storage management such as Zustand, which takes a minimalistic approach compared to Redux, as explained here and that might simplify future development/maintenance of the Catalog UI. Another option to explore would be to get rid of Redux, as it might be overkilling for our UI solution.

taban03 avatar Mar 20 '24 15:03 taban03