From 8e50ea4b83546b0b84f2cdcda8c2aa59322f4a9e Mon Sep 17 00:00:00 2001 From: Philip Zhan <20145487+philip-zhan@users.noreply.github.com> Date: Tue, 31 Dec 2024 09:34:14 -0800 Subject: [PATCH] Update performant-components.md Fix typo --- documentation/docs/fundamentals/performant-components.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/docs/fundamentals/performant-components.md b/documentation/docs/fundamentals/performant-components.md index c69719cd3..513f7bcc6 100644 --- a/documentation/docs/fundamentals/performant-components.md +++ b/documentation/docs/fundamentals/performant-components.md @@ -175,7 +175,7 @@ const MyItem = ({ item }) => { }; ``` -Since `MyHeavyComponent` does not directly depend on the `item` prop, `memo` can be used to skip re-rending `MyHeavyComponent` when the item is recycled and thus re-rendered: +Since `MyHeavyComponent` does not directly depend on the `item` prop, `memo` can be used to skip re-rendering `MyHeavyComponent` when the item is recycled and thus re-rendered: ```tsx const MyHeavyComponent = () => {