3 ms·
You don't need a one line component, you can just declare an extra variable before your main JSX. A redundant extra component is bad for performance.
by the_duke 7y ago
You don't need a one line component, you can just declare an extra variable before your main JSX.
A redundant extra component is bad for performance.
- manigandham 7y agoI know. That's what the poster didn't like so I suggested an alternative.