redux-saga / saga-query

Data synchronization using a middleware system for front-end apps
64 stars 4 forks source link

:sparkles: :boom: new feature `prepareStore` #4

Closed neurosnap closed 3 years ago

neurosnap commented 3 years ago

prepareStore will setup redux-batched-actions, redux-saga, and some built-in reducers to make dev easier.

This PR will bring a massive change to how people interact with saga-query. The idea is to streamline some of the code by sacrificing some of the decisions end-users can make.

In particular, we are going to nudge people towards using prepareStore which will make a bunch of assumptions about how people are going to use saga-query. The end result will be a more opinionated way to use this library.

This PR also revamps the middleware that was created to use the assumptions in prepareStore.