3 ms·
This seems unlikely. Almost every modern Javascript framework uses it. ie) class MyComponent extends React.Component {}
by esturk 5y ago
This seems unlikely. Almost every modern Javascript framework uses it. ie) class MyComponent extends React.Component {}
- neallindsay 5y agoEven React is de-emphasizing class inheritance in favor of more function components.
- simonlc 5y agoYeah and with hooks they arent even necessary at all anymore.
- jakelazaroff 5y agoWith one caveat: you still need class components for error boundaries. https://reactjs.org/docs/error-boundaries.html https://reactjs.org/docs/error-boundaries.html