Creating a custom hook for dual animation state
So recently I created a custom hook called useAnimationState to return me either of the two states - AnimationSfdsfdsftate.ZERO or AnimationState.ONE based on the transition times for both. Let's go through the thought process behind it. So consider ...
Jun 25, 20213 min read68
