From 9b5b0a9cf8c1e803c845052449c3f704b1978f4c Mon Sep 17 00:00:00 2001 From: Andrei Alecu Date: Sat, 30 Jan 2021 16:07:23 +0200 Subject: [PATCH] perf: optimize useAnimatedReaction --- src/createCollapsibleTabs.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/createCollapsibleTabs.tsx b/src/createCollapsibleTabs.tsx index 5ebb616c..12df48f4 100644 --- a/src/createCollapsibleTabs.tsx +++ b/src/createCollapsibleTabs.tsx @@ -218,7 +218,8 @@ const createCollapsibleTabs = < } } } - } + }, + [] ) const renderItem = React.useCallback(