Closed MFrozenM closed 2 years ago
When you want to update the animation name in Transition, it doesn't work.
<Transition name={animation}> {active() === 0 && <Component/>} </Transition>
The problem was mergedProps. It doesn't update when we pass a new name with props. So, I remove it, declare the classes with let, and handle name changes in createEffect.
When you want to update the animation name in Transition, it doesn't work.
<Transition name={animation}> {active() === 0 && <Component/>} </Transition>
The problem was mergedProps. It doesn't update when we pass a new name with props. So, I remove it, declare the classes with let, and handle name changes in createEffect.