A demo "counter" + async application (codesandbox) is provided for each of the following four state libraries. The Zustand codesandbox includes three versions: vanila, immer, and redux-like
- https://codesandbox.io/s/github/reduxjs/redux-essentials-counter-example/tree/master/?from-embed
- https://redux-toolkit.js.org/tutorials/quick-start
- https://redux.js.org/usage/writing-tests
RTK Query has a (currently experimental) code-gen tool that will take an OpenAPI spec or GraphQL schema and give you a typed API client, as well as provide methods for enhancing the generated client after the fact.
- https://redux-toolkit.js.org/rtk-query/comparison
- https://github.com/rtk-incubator/rtk-query-codegen