3 ms·
RSK should be fairly usable with TS. As I understand it, it can't be as magically strict as `typesafe-actions` is or infer quite as much automatically, because
by acemarke 7y ago
RSK should be fairly usable with TS. As I understand it, it can't be as magically strict as `typesafe-actions` is or infer quite as much automatically, because of how we're generating the action types from the reducer names as strings. But, it should definitely generate correctly typed action creator functions for you.
And yes, agree on needing more documentation:
https://github.com/reduxjs/redux-starter-kit/issues/59 https://github.com/reduxjs/redux-starter-kit/issues/59
I've got an example app I put together using RSK, our new React-Redux hooks, and TS, and I'm planning to turn that into a tutorial soon:
https://github.com/markerikson/rsk-github-issues-experiment https://github.com/markerikson/rsk-github-issues-experiment
- vonseel 7y agoThank you!