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
88
99One 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.
1010
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.
1212
1313## Examples
1414
Original file line number Diff line number Diff line change @@ -246,7 +246,7 @@ module.exports = {
246246 }
247247
248248 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
250250 // a React.memo i.e. React.memo(React.forwardRef(/* ... */))
251251 // This means that we raise a single error for the call to React.memo
252252 // instead of one for React.memo and one for React.forwardRef
You can’t perform that action at this time.
0 commit comments