Comment on Hyper – Outperform React on every metricComments−janaagaard1yThe React example feels dishonest because it could be a lot simpler:- All the imports are only needed because a UI library was used. This is not necessary.- It also looks like 'User' is imported, but not used anywhere.- The curly braces and the return statement can be left out.- React.FC<> is unnecessary, you can just specify the type after {users} or, at least, simplify React.FC to FC.
Comments
The React example feels dishonest because it could be a lot simpler:
- All the imports are only needed because a UI library was used. This is not necessary.
- It also looks like 'User' is imported, but not used anywhere.
- The curly braces and the return statement can be left out.
- React.FC<> is unnecessary, you can just specify the type after {users} or, at least, simplify React.FC to FC.