Here is more information on Why RTK uses Redux Thunk over Redux Saga, if you want to know more. It also chooses to use redux-thunk over redux-saga and you can swap those out if you wish. As Redux Toolkit installs the individual packages, you always have the option to remove pieces you aren't using as well. While the bundle size is going to be larger than the original Redux package, the RTK team is constantly working on better tree-shaking techniques to decrease its size. This will get you ready to code faster and simplify adding new items to your store.
0 Comments
Leave a Reply. |