Hacker News new | ask | show | jobs
by chrisdugne 1914 days ago
La Taverne is an elementary Flux implementation to manage your state.

The goal is to keep Redux original power and simplicity, removing the headaches of addons like Redux-thunks or Reselect.

1 comments

How does La Taverne compare to Redux Toolkit which already removes a lot o boilerplate and includes redux thunk
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.