jsx-eslint/eslint-plugin-react
GitHub で見るNew rule to avoid prop value with array or object creation in render
Open
#1,633 opened on 2018年1月8日
acceptedhelp wantednew rule
Repository metrics
- Stars
- (8,630 stars)
- PR merge metrics
- (30d に merged PR はありません)
説明
There is a rule for prop value with function creation (bind, function(...), or arrow function): react/jsx-no-bind
But I can't find a rule for array ([]) or object ({}) creation.
It would be useful since it would help to avoid useless renders of pure components.