What's Changed
🐞 Fixes
- Fix rule
prefer-destructuring-assignment
false positive when the function looks like a component
🪄 Improvements
- Improve
utilities/jsx/is-jsx-value
to better distinguish between normal values and JSX values - Improve
core/component-collector
to better distinguish between normal functions and components - Prevent potential function component detection related false positives
- Switch to a more appropriate value for
DEFAULT_COMPONENT_HINT
Full Changelog: v1.5.19...v1.5.20