Whats the difference, in terms of speed and performance of these two implementations:
export const MyComponent = ({ args }) => {
...
}
And:
class MyComponent extends React.Component {
...
}
Specifically about the render function in both of them.