Hi, I'm author of Valtio, a proxy state management library for React. Valtio repo at GitHub
Valtio uses proxies extensively and users may feel its behavior magical. If you understand how it works, the magical behavior is no longer magical. You would be able to use Valtio more effectively with confidence.
To help understanding of how Valtio works internally, this includes a simplified version of core code. Its features are limited, but it's a complete implementation. The "Simplified Valtio" code has some comments, which should help reading the code. The video will briefly introduces Proxy in general, minimal Valtio usage, and the simplified code.
- 8-min introduction video (MP4 format)
- 205-line code with comments
- A small example to run the code
205-line code of simplified valtio, 8-min introduction video, and a small example.
- 205-line code of simplified valtio, 8-min introduction video, and a small example.
- Size255 MB