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
{{ message }}
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.
Currently it's easy to accidentally forget .props. / .state. when reading data from Roact components. It would be nice if there were an easy way to enable strictness for components extended from Roact.Component so that you would get an error if you accidentally type self.foobar instead of self.props.foobar, rather than a nil which silently propagates forwards and likely causes issues later on.
The text was updated successfully, but these errors were encountered:
Currently it's easy to accidentally forget
.props.
/.state.
when reading data from Roact components. It would be nice if there were an easy way to enable strictness for components extended from Roact.Component so that you would get an error if you accidentally typeself.foobar
instead ofself.props.foobar
, rather than a nil which silently propagates forwards and likely causes issues later on.The text was updated successfully, but these errors were encountered: