Dominic Gannaway
Dominic Gannaway
@thysultan You'd possibly use a flag to indicate it is a host node: ```js const flags = HOST_COMPONENT | HAS_CHILDREN | HAS_STATIC_PROPS | IS_STATIC; const flags2 = TEXT_NODE | IS_STATIC;...
Just for related context, we recently landed a `FocusScope` event component and responder into the React repo for the new experimental events API (that we're testing internally at FB): https://github.com/facebook/react/blob/master/packages/react-events/src/FocusScope.js....
@theKashey I've already explored tracking the focus the active element, aka sentinels. It's fragile at best because you get an inconsistent behaviour where parts of the UI show focus for...
It would be good to get a REPL of this if possible.
Can you make a REPL please?
@singlyfy Are you mixing Svelte 4 and Svelte 5 components? It could be that the `deep_read` logic in Svelte is getting stuck on very deep object structures.
I've not had time to look into this deeply yet, will get around to it this week! Also, the lint CI workflow is failing :)
So I dug through this and also played around with it locally. I don't think it's the right direction for what we want to do here. I put up https://github.com/sveltejs/svelte/pull/11827...
It’s more important to be efficient with memory than have greater fine grained reactivity. We can’t create signals only in reactive contexts either, we used to do that for objects...
@FoHoOV Signals aren't free at the end of the day, we have to do a lot of bookkeeping around them to manage their relationships. If we're doing this for things...