You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched for existing issues that already include this feature request, without success.
Describe the Feature Request
As it stands now, prop being mutable doesn't do anything other than suppress a warning about modifying a prop.
Is there a reason that warning was put in?
This seems like a needless behavior that only worsens DX, and makes testing components harder.
Describe the Use Case
Do two-way sync of props with external store
Modify props in tests
Reset prop values on hot-module-replacement
Describe Preferred Solution
Remove the useless warning
Describe Alternatives
OR deprecate the concept of non-mutable props
OR add a stencil config option to make all props mutable
Prerequisites
Describe the Feature Request
As it stands now, prop being mutable doesn't do anything other than suppress a warning about modifying a prop.
Is there a reason that warning was put in?
This seems like a needless behavior that only worsens DX, and makes testing components harder.
Describe the Use Case
Describe Preferred Solution
Remove the useless warning
Describe Alternatives
OR deprecate the concept of non-mutable props
OR add a stencil config option to make all props mutable
Related Code
No response
Additional Information
Related to #3490
The text was updated successfully, but these errors were encountered: