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