Summary
In this chapter, we learned about a library called Valtio. It utilizes proxies extensively. We've seen examples and learned how it can be used. It allows mutating state, which feels like using normal JavaScript objects, and the proxy-based render optimization helps reduce application code. It depends on developers' requirements whether this approach is a good choice.
In the next chapter, we will learn about another library, called React Tracked, which is a library that is based on Context and has proxy-based render optimization like Valtio.