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
Maybe we can add a .readOnly() to the propTypes specification.
It would need to make that information available in the type, so it can be used to type the setProps(props) parameter – that is used for the bindings – and of course to be available during runtime to throw an error if a readonly (or any unknown prop) is passed.
It would be nice if Muban supports props which are only readable from outside, but not writable.
The text was updated successfully, but these errors were encountered: