-
-
A very simple kind of reference is the UpdatableReference: https://github.com/glimmerjs/glimmer-component/blob/master/src/references.ts#L140 … (when the value changes, bump the tag)
-
An even simpler kind of reference would expose a mechanism for just bumping the tag (decoupled from value updates)
-
But as you can see the core primitive is quite small and grokkable
End of conversation
New conversation -
-
-
Is there a spec for the reference protocol?
-
https://github.com/glimmerjs/glimmer-vm/blob/master/guides/04-references.md … and https://github.com/glimmerjs/glimmer-vm/blob/master/guides/05-validators.md … are the closest but you are required to use validators supplied by Glimmer
-
This allows us to make validation of tags ~ Math.max of a bunch of numbers.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.