Skip to content

Commit f204f11

Browse files
committed
Remove from recommended ruleset
1 parent a08c908 commit f204f11

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

docs/rules/no-unstable-nested-components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Disallow creating unstable components inside components (react/no-unstable-nested-components)
22

3-
💼 This rule is enabled in the following [configs](https://github.com/jsx-eslint/eslint-plugin-react#shareable-configurations): `all`, `recommended`.
3+
💼 This rule is enabled in the following [configs](https://github.com/jsx-eslint/eslint-plugin-react#shareable-configurations): `all`.
44

55
Creating components inside components (nested components) will cause React to throw away the state of those nested components on each re-render of their parent.
66

index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,6 @@ module.exports = {
152152
'react/no-unescaped-entities': 2,
153153
'react/no-unknown-property': 2,
154154
'react/no-unsafe': 0,
155-
'react/no-unstable-nested-component': 0,
156155
'react/prop-types': 2,
157156
'react/react-in-jsx-scope': 2,
158157
'react/require-render-return': 2,

0 commit comments

Comments
 (0)