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

use Symbols for hiding framework specific data #197

Open
kt3k opened this issue Sep 6, 2020 · 0 comments
Open

use Symbols for hiding framework specific data #197

kt3k opened this issue Sep 6, 2020 · 0 comments

Comments

@kt3k
Copy link
Member

kt3k commented Sep 6, 2020

We use random short strings for hiding our capsid specific data into DOMs or use defined component's insntances. See https://github.com/capsidjs/capsid/blob/master/src/util/const.ts

This works fine, but ecmascript now has Symbols and we can use them for this purpose in a better way.

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