How do I make a react-spring trigger a different spring in another element?
According to the react-spring documentation, their “imperative API” provides methods for stopping and starting springs using start and stop methods, respectively. Thus, it should be possible to write two springs, the first triggering the second:
react-spring basic transition with components – background appears, component doesn’t “pre-render”
I’m trying to reproduce the “Basic Transition” example from the react-spring website with components imported from a file instead of animated.divs
(https://codesandbox.io/s/cisbc).
react-spring basic transition with components – background appears, component doesn’t “pre-render”
I’m trying to reproduce the “Basic Transition” example from the react-spring website with components imported from a file instead of animated.divs
(https://codesandbox.io/s/cisbc).