Skip to content

Commit c45fa10

Browse files
authored
Fix "primatives" typo in cache.md (#6335)
1 parent 68f417a commit c45fa10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/reference/react/cache.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ See prior mentioned pitfalls
414414
415415
If none of the above apply, it may be a problem with how React checks if something exists in cache.
416416
417-
If your arguments are not [primatives](https://developer.mozilla.org/en-US/docs/Glossary/Primitive) (ex. objects, functions, arrays), ensure you're passing the same object reference.
417+
If your arguments are not [primitives](https://developer.mozilla.org/en-US/docs/Glossary/Primitive) (ex. objects, functions, arrays), ensure you're passing the same object reference.
418418
419419
When calling a memoized function, React will look up the input arguments to see if a result is already cached. React will use shallow equality of the arguments to determine if there is a cache hit.
420420

0 commit comments

Comments
 (0)