Skip to content

Commit

Permalink
fix: typo (jquense#2443)
Browse files Browse the repository at this point in the history
Quick PR to fix the typo in the docs
  • Loading branch information
karlhorky authored and soulsam480 committed Dec 11, 2023
1 parent 86b6052 commit c7d9326
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stories/AboutExamples.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ const onView = useCallback((newView) => setView(newView), [setView])
<Calendar onView={onView} {...otherProps} />
```

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.

0 comments on commit c7d9326

Please sign in to comment.