-
-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Missing "children" prop feature in <Miss> #4026
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
thanks, yeah the rendering code was once shared, i'm going to share it
|
@ryanflorence I've made a PR to fix this issue (while the rendering code is not shared yet). I'm new here. Please advise if there's anything wrong. |
|
So, the
<Match>
Component takes a propchildren
which allows the following:As taken from the current v4 docs.
The function provided via this
children
prop will always be rendered, regardless whether it's a match or not - allowing to use lifecycle hooks in<Animated>
to animate the content e.g. usingReactCSSTransitionGroup
.Unfortunately this prop is missing in the
<Miss>
component, making it unpossible to use lifecycles to animate it. Would be nice to add it.The text was updated successfully, but these errors were encountered: