You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The proposal to allow non-registered symbols (e.g., Symbol('foo')) as keys for weak maps was accepted for 2023. Seems sensible to pivot over to using something like Symbol('__result__') for the opaque references we pass back from our internal template engine.
Currently, x-element creates a new null object (Object.create(null)), which feels dated now that symbols can be used 👌
The text was updated successfully, but these errors were encountered:
The proposal to allow non-registered symbols (e.g.,
Symbol('foo')
) as keys for weak maps was accepted for 2023. Seems sensible to pivot over to using something likeSymbol('__result__')
for the opaque references we pass back from our internal template engine.Currently,
x-element
creates a new null object (Object.create(null)
), which feels dated now that symbols can be used 👌The text was updated successfully, but these errors were encountered: