Chapter 8: The Rematch Plugins Ecosystem
In this chapter, we'll learn how Rematch plugins are built and which hooks are exposed for interacting with our store and models. We'll look at the most common use cases of each hook and how they work internally. Also, we'll focus on the official list of plugins provided by Rematch, analyzing their internal architecture and configuring them inside our Amazhop application.
In this chapter, we'll cover the following topics:
- Introduction to Rematch plugins
- The Rematch loading plugin
- The Rematch select plugin
- The Rematch Immer plugin
- The Rematch updated plugin
- The Rematch persist plugin
By the end of the chapter, you will understand how Rematch plugins extend the functionality of Rematch with minimal impact on your bundle size and performance, even improving performance in some cases. Also, you will learn how they work internally and how they can be used in a real application.