feat(linter): react-perf/no-new-object-as-props #2044
Labels
A-linter
Area - Linter
C-enhancement
Category - New feature or request
E-Help Wanted
Experience level - For the experienced collaborators
Note: the original rule bans object literals in JSX expressions declared at the top-level scope. Since this doesn't have any performance problems (it only ever renders once, since it's not in the component's rendering logic), we should consider allowing this case.
The text was updated successfully, but these errors were encountered: