(no title)
skvark
|
5 years ago
Redux Toolkit is great and removes most of the usual Redux boilerplate which seems to be the most often used argument against Redux. Additionally, I usually use a function which uses createEntityAdapter, createSlice and createAsyncThunk methods to create Ducks bundles for each REST API resource automatically. As a result I get all async action creators, reducers and basic selectors for some REST API resource with a couple of lines of code.
acemarke|5 years ago
https://rtk-query-docs.netlify.app
We're working on finalizing that API and will be merging the functionality and docs back into RTK itself for an upcoming RTK release:
https://github.com/rtk-incubator/rtk-query/issues/175
skvark|5 years ago