top | item 26526757

(no title)

avaldeso | 5 years ago

How does La Taverne compare to Redux Toolkit which already removes a lot o boilerplate and includes redux thunk

discuss

order

chrisdugne|5 years ago

The reducing is done with Immer so you have exactly the same mechanism than https://redux-toolkit.js.org/usage/immer-reducers

But Redux Toolkit is precisely among the reasons that led me to this new lib `La Taverne`:

Redux core has this awesome Flux basics, but it's deliberately unopinionated: you need addons and toolsets to complete your needs (Toolkit, Thunks, Reselect, Saga etc)

All of them add more setup, specific API, weight to your project...

I wanted a lighter solution to handle my Flux architecture.

La Taverne means to be standalone, providing essential Flux tools: async actions, immutable reducing, isolated external state.