Open to new job opportunities? Check out the positions from Toughbyte.

Transpiling TypeScript classes to Redux or React Context API models

In State of JS 2018 Redux is still the most popular Data Layer solution. However, the extra work writing Redux actions can be tedious in some cases. It appears that this process can be greatly simplified by transpiling classes using TypeScript Compiler API to immutable reducers, Context API models and selectors. The Author has published results as Open Source library called ts2redux and will explain benefits and limitations of this approach.