Replies: 2 comments
-
| Hey! Thank you for your suggestion! I will have to come back to this one. There is no specific technical reason why it wouldn't work. I just have to decide if it has to be opt-in or opt-out. I don't want to break backwards compatibility though. I have been thinking about a config wrapper where you can define defaults for a whole tree, something like this: <Configuration defaults={{ unmount: true, appear: false }}>
...
</Configuration>I'll keep you posted on this one! | 
Beta Was this translation helpful? Give feedback.
-
| Yeah, I like that idea. Similar to how e.g.SWR does it. However, I can still see benefits of having  | 
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Using
showon<Transition>to coordinate multiple<Transition.Child>transitions is great. However, I find it a little clumsy to have to defineunmounton both<Transition>and<Transition.Child>.Any chance
<Transition.Child>could inheritunmountfrom<Transition>, similar to howshowis treated? I guess it would be preferable to be able to override them as well.Or are there any specific technical reasons preventing this?
[Edit]:
appearseems to work as expected.Beta Was this translation helpful? Give feedback.
All reactions