Skip to content

Binding to frozen objects throws errors #3

@dfenerski

Description

@dfenerski

Hello!

Recently I've discovered that binding to objects, on which Object.freeze was ran did not work, with some weird error about proxies.

I've put together a simple repository to demonstrate this issue here.

A workaround is to import such objects directly as separate modules, but in this case no binding to them is possible.

I find this concept useful, because it also insures runtime immutability, when things get boiled down to plain JS, you can never be to cautious of side effects there.

Please let me know if I am missing something or if anything else is needed.

Any help is appreciated.

BR

Dimitar

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions