v0.10.4 (Sat Jan 6 2024)
🪄 Improvements
- Improve rule
react/no-unstable-default-props
to support checking for ObjectPatterns within VariableDeclarators that occur on props - Improve function component detection in rule
react/no-unstable-nested-components
anddebug/function-component
🐞 Fixes
- Fix same kind of error inside a component should not only be reported once in rule
react/no-create-ref
andreact/no-constructed-context-value
- Fix an issue where render functions wrapped in
useCallback
were accidentally detected as function components in rulesreact/no-unstable-nested-components
anddebug/function-component