Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Realms use case #15

Open
leobalter opened this issue Feb 9, 2021 · 1 comment
Open

Realms use case #15

leobalter opened this issue Feb 9, 2021 · 1 comment

Comments

@leobalter
Copy link
Member

As seen in the recent discussions for Realms, this proposal has now become a very useful feature that could be used to share identities through multiple realms. Using Weakmaps with symbol keys would be a first step to config membranes.

This proposed feature goes straight to our usage without increased complexity. Transferring a symbol identity through realms seems like a separate concern. Although, using Records and Tuples for this separate concern still feels overkill as we would need to specify what it means to transfer their structure to set identity references. There is no depreciation for the use cases of R&T, but we'd need to enable Symbols as WeakMap keys as the base for the next proposal-step.

@leobalter
Copy link
Member Author

For clarification, If this feature becomes reality, we could already use it through other forms to reach different Realms, including iframes. The dependency is only from a shared identity proposal to this one, but this one does not depend on anything else. I hope it can find progress towards the stage process soon!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant