Update pitfalls.md

This commit is contained in:
Paul Henschel
2020-07-06 23:56:18 +02:00
committed by GitHub
parent 83ffa65226
commit ff0c2d3d16

View File

@@ -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 <mesh position-x={x} />
```