Skip to content

use Symbols for hiding framework specific data #197

@kt3k

Description

@kt3k

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions