The result of the toggle, is that a div should expand and then contract. But instead showing and then hiding.
It's originally react code and moved to solidjs.
Here's my confusion:
There are a lot of yellow underlines with the warning:
The reactive variable 'local.duration' should be used within JSX, a tracked scope (like createEffect), or inside an event handler function, or else changes will be ignored.eslint(solid/reactivity)
The reactive variable 'local.duration' should be used within JSX, a tracked scope (like createEffect), or inside an event handler function, or else changes will be ignored.eslint(solid/reactivity)
A lot of the props are going to be static. Hence I'm only tracking mounted and following on from that transitionStatus works as well.