Skip to content

Replace cloneAndDeepFreeze with observable-membrane read-only proxy #4799

Closed
@nolanlawson

Description

@nolanlawson

engine-server currently uses a read-only proxy from observable-membrane to prevent children from mutating their parent's props. We can reuse this existing logic (which is basically just a Proxy wrapper) rather than doing the expensive cloning/freezing logic in #4779.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions