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
show
on<Transition>
to coordinate multiple<Transition.Child>
transitions is great. However, I find it a little clumsy to have to defineunmount
on both<Transition>
and<Transition.Child>
.Any chance
<Transition.Child>
could inheritunmount
from<Transition>
, similar to howshow
is 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]:
appear
seems to work as expected.Beta Was this translation helpful? Give feedback.
All reactions