In the preceding chapter, you learned how to render your Redux/React application on the server side to be able to provide the user with a fully rendered application at the first request.
After understanding how to use Redux and seeing how powerful its libraries can be through the previous chapters, in this chapter, we will discuss how to make our own abstractions on top of Redux. These abstractions can generalize behavior, such as undo/redo, meaning that you do not have to re-implement such features for each part of the application that makes use of them. Furthermore, these generic abstractions can be packaged as libraries and used in any Redux application.
In this chapter, we will cover the following topics:
- Making functions pure
- Creating higher-order functions
- Solving generic problems with Redux
- Implementing generic undo...