Basically, I’m trying to understand how or where the hook options.__b gets called. Doing a stack trace does show that it’s called when options._diff gets called. But I fail to see the code responsible for setting that up.
I’m doing some tooling involving preact/signals, so I’m trying to understand some of the internals. Hope someone can shed some light for me. Thanks!
Figured it out =) There were a lot of code changes to both preact and preact/signals lately that keeping track of the source code had been a challenge. Once I updated everything again, things became more apparent.
Basically, I’m trying to understand how or where the hook
options.__b
gets called. Doing a stack trace does show that it’s called whenoptions._diff
gets called. But I fail to see the code responsible for setting that up.I’m doing some tooling involving preact/signals, so I’m trying to understand some of the internals. Hope someone can shed some light for me. Thanks!