Skip to content
This repository was archived by the owner on Dec 13, 2023. It is now read-only.
This repository was archived by the owner on Dec 13, 2023. It is now read-only.

Freeze props, freeze state after init #364

@Kampfkarren

Description

@Kampfkarren

We cannot keep letting people shoot themselves in the foot on this. I'm tired of trying to convince people to use Roact properly.

Both of these should be frozen by default.

Should be on an option, in my opinion with:

  • Deep freeze (default, checks isfrozen to stop circular freeze)
  • Shallow freeze
  • No freeze

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