roact icon indicating copy to clipboard operation
roact copied to clipboard

Strictness for Roact Components

Open stravant opened this issue 5 years ago • 0 comments

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.

stravant avatar Nov 23 '19 01:11 stravant