DEV Community

Discussion on: Redux is Dead: Long Live Redux Toolkit

Collapse
 
markerikson profile image
Mark Erikson

RTK does add some code to the bundle size, yes, but:

  • The biggest added size comes from the Immer immutable update library. We've already been recommending use of Immer for immutable updates for a long time, so lots of people were using that anyway
  • The actual logic added by RTK is fairly minimal
  • The amount of app code that goes away more than pays for the size of the RTK methods