You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This makes building abstractions like AsyncProps simpler and less error-
prone because it knows exactly where to find the elements it needs to
clone or wrap or whatever. Having them on `props` makes it impossible
to know if the component there is a component from a route or somewhere
else.
This was the original API, but we moved them off of children because it
seemed a little to weird, but lately passing a function to children has
been accepted, so why not objects?
0 commit comments