In previous post we demonstrated how to use TypeScript with Redux and related libraries. And in this post we will talk about routing, an essential part that almost any React applications have to deal with.
Previous articles:
Continue readingThere are 2 posts tagged redux (this is page 1 of 1).
In previous post we demonstrated how to use TypeScript with Redux and related libraries. And in this post we will talk about routing, an essential part that almost any React applications have to deal with.
Previous articles:
Continue readingIn previous articles we have already explained how to use TypeScript in regular React and with Material-UI. In this article I will show the most important and difficult part: redux.
Previous articles can be found here:
The packages used in this articles are:
$ npm install --save redux react-redux typesafe-actions \
rxjs redux-observable lodash reselect \
@types/react-redux
The common and recommended way of using redux is with the combination of redux
+ typesafe-actions
+ redux-observable
. The configuration is a bit complicated so I will explain piece by piece.