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

Freeze props, freeze state after init #364

Open
Kampfkarren opened this issue Feb 23, 2022 · 0 comments
Open

Freeze props, freeze state after init #364

Kampfkarren opened this issue Feb 23, 2022 · 0 comments

Comments

@Kampfkarren
Copy link
Contributor

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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant