Closed makotot closed 3 months ago
what is the benefit? that talk is from 2018 and i haven't heard of any similar complaints since.
In terms of frequency of looking, it does not seem to be a useful rule in general. Thank you for your quick response. Understood. I'll make it personal if necessary.
Hi 👋 How about limiting the maximum number of props in a component to avoid Apropcalypse? Similar to
jsx-max-props-per-line
, but per-component rather than per-line and excludes native html elements.Example of incorrect code when the maximum number is set to 5:
Example of correct code when the maximum number is set to 5: