Not so much to say about Typescript and Dynadux. Dynadux is written in Typescript.
Simple Ctrl-Click the Type, and your smart IDE will navigate you into the types of Dynadux.
Here are some tips and techniques.
The technique of the createAppStore
that exports the API for the app is great because we don't have to declare the return interface for it.
But down the road, you might need that interface.
To get the interface
of it we will use some Typescript magic:
interface IAppStoreApi extends ReturnType<typeof createAppStore> {}
Now you can pass this type to nested Components or Providers.
- FAQ Frequently asked questions
- React How to use it in react
- Sections Create sections for applications or big components
- Examples Live examples. Examples compared to redux's implementations
- Advanced Dispached promises, boost up your app and more.
- History, Undo/Redo Middleware for History, Undo/Redo and Restore Points.
- React Dynadux Provider for Dynadux App Stores
- Change Log Changes of Dynadux per semver version
- 🏠 Home, Contents