File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ This rule prevents non-stable values (i.e. object identities) from being used as
8
8
9
9
One way to resolve this issue may be to wrap the value in a ` useMemo() ` . If it's a function then ` useCallback() ` can be used as well.
10
10
11
- If you _ expect_ the context to be rerun on each render, then consider adding a comment/lint supression explaining why.
11
+ If you _ expect_ the context to be rerun on each render, then consider adding a comment/lint suppression explaining why.
12
12
13
13
## Examples
14
14
Original file line number Diff line number Diff line change @@ -246,7 +246,7 @@ module.exports = {
246
246
}
247
247
248
248
if ( node . arguments . length > 0 && astUtil . isFunctionLikeExpression ( node . arguments [ 0 ] ) ) {
249
- // Skip over React.forwardRef declarations that are embeded within
249
+ // Skip over React.forwardRef declarations that are embedded within
250
250
// a React.memo i.e. React.memo(React.forwardRef(/* ... */))
251
251
// This means that we raise a single error for the call to React.memo
252
252
// instead of one for React.memo and one for React.forwardRef
You can’t perform that action at this time.
0 commit comments