Re:Comparing Svelte and React
by skvark on Thursday March 25, 2021 @04:53AM
(#26577804)
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.
[ Parent
| on HN ]
If you like the stuff in RTK so far, I think you're going to like our upcoming "RTK Query" API, which adds a React Query-inspired data fetching abstraction:
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: