From ff0c2d3d161b4d4d171d88a8a06e29fc8fc3f2f1 Mon Sep 17 00:00:00 2001 From: Paul Henschel Date: Mon, 6 Jul 2020 23:56:18 +0200 Subject: [PATCH] Update pitfalls.md --- pitfalls.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pitfalls.md b/pitfalls.md index 178e610..d0a7882 100644 --- a/pitfalls.md +++ b/pitfalls.md @@ -79,7 +79,7 @@ Using state-managers and selected state is fine, but not for updates that happen ```jsx import { useSelector } from 'react-redux' -// Assuming that x gets animated inside the store, triggering the component 60fps +// Assuming that x gets animated inside the store 60fps const x = useSelector(state => state.x) return ```