DEV Community

loading...

Discussion on: Introduction to the Compose Snapshot system

Collapse
zachklipp profile image
Zach Klippenstein Author

The samples are a bit contrived, and as noted I omitted dispose calls for all but the first, but other than that this is all working code you can run. There’s no other entry point - this is the entry point!

One of the reasons it looks like magic is because it’s using thread locals to pass information implicitly down the call stack.