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
Component doesn't extend from State anymore. This shouldn't affect anyone unless some inherited functions from State were being used. Component still has the main getState and setState functions though, so those can still be used.
Components that inherit from JSXComponent won't have their state properties set directly on the component instance anymore. They will be accessible via this.props and this.state instead, following react's standards. Note that this doesn't affect components extending directly from Component.
The approach for reusing components was changed to happen according to each component's position within their parent elements, instead of the position within parent components as before. See more details in the related issue.
There's no config property anymore. Components inheriting from JSXComponent can use props instead.
JSX Features
JSXComponent now automatically splits state into this.state and this.props, where state holds internal data while props holds external.
JSXComponent can now define properties using both STATE and PROPS static variables, according to if they should show up in state or props.
General Features
A new required option was added to State, which warns if a certain property wasn't given.