Summary
In this chapter, we learned about how we can manage our application states with Svelte.
At the beginning of the chapter, we discussed some of the tips for managing states in Svelte through a Svelte store. These tips will be useful to you as your Svelte application grows larger and more complex.
One of the tips that we discussed is using state management libraries to manage data changes and data flows. That’s why we spent the second half of the chapter exploring how we can use state management libraries in Svelte, by transforming the state management libraries’ state into Svelte stores.
In the next chapter, we are going to explore how we can use a combination of both a Svelte context and a Svelte store to create renderless components—logical components that do not render any content.