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
Generally if you don't need access to state or the lifecycle methods you should use a functional component const Component = props => <div>... rather than a class. The React team have promised that stateless functional components will get some performance optimisations in the near future so good to be ready for that. Less code too :)
The text was updated successfully, but these errors were encountered:
Generally if you don't need access to state or the lifecycle methods you should use a functional component
const Component = props => <div>...
rather than a class. The React team have promised that stateless functional components will get some performance optimisations in the near future so good to be ready for that. Less code too :)The text was updated successfully, but these errors were encountered: