Skip to content

Roadmap: RTK v1.3.0 #373

@markerikson

Description

@markerikson

v1.3.0 is shaping up to be a somewhat sizeable set of changes:

  • Adding createAsyncThunk and createEntityAdapter
  • Porting redux-immutable-state-invariant over
  • Dropping support for TS <3.5
  • Possibly dropping or cloning the redux-devtools-extension package to see if we can improve shakeability? (or maybe things can get improved upstream)
  • See if Immer drops a new version that tree-shakes better and we can use

Also, we should totally try to use https://github.com/mweststrate/import-size to help improve our shaking and bundle size.

Sketch of tasks to do:

  • Code
  • Write at least one small-ish example app, both to confirm how the API feels in practice and to act as an example
  • Docs
    • Add usage guides for new APIs
      • createAsyncThunk: data fetching in general, standard Redux patterns, how this simplifies
      • createEntityAdapter: normalization in general, a couple recipes for how you could do normalizing yourself and then use these methods to process (like calling normalizr in an action creator, and having a slice check for action.payload.entities.users and process accordingly)
    • Polish API reference pages
    • Cover new APIs in "Usage with TypeScript" page
    • Consider reworking tutorials to use new APIs?
    • Update README and other docs pages to add mentions of new APIs and revise information (per README, we do now have something for entities, just not relationships...)
    • Separate docs pages for the immutable and serialization middleware
  • Update CRA templates to point to rtk@^1.3.0

Ongoing v1.3.0 integration work is in this PR:

v1.3.0 integration

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions