From 407e168921a861e171ec3c8aee23f5ffe855323d Mon Sep 17 00:00:00 2001 From: Karl Horky Date: Mon, 18 Sep 2023 15:30:54 +0200 Subject: [PATCH] fix: typo (#2443) Quick PR to fix the typo in the docs --- stories/AboutExamples.stories.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stories/AboutExamples.stories.mdx b/stories/AboutExamples.stories.mdx index cbe090699..9d184f740 100644 --- a/stories/AboutExamples.stories.mdx +++ b/stories/AboutExamples.stories.mdx @@ -44,4 +44,4 @@ const onView = useCallback((newView) => setView(newView), [setView]) ``` -If a prop takes an `Object`, an `Array`, a `Date`, a `Function`, or any other non-simple variable type, it is always a good idea to memoize those values prior to passing them as props. Chances are that some prop or state change will trigger a re-render of your Calendar. How well you manage your props will effect overall render performance. +If a prop takes an `Object`, an `Array`, a `Date`, a `Function`, or any other non-simple variable type, it is always a good idea to memoize those values prior to passing them as props. Chances are that some prop or state change will trigger a re-render of your Calendar. How well you manage your props will affect overall render performance.