Skip to content

Conversation

caseywebdev
Copy link
Contributor

With the current implementation <NotFoundRoute {...props}>{[]}</NotFoundRoute> fails, but clearly there are no children. This uses a more accurate check to determine whether there are actually component children.

@caseywebdev caseywebdev changed the title Use more correct children invariant [fixed] Use more correct children invariant Feb 13, 2015
@mjackson
Copy link
Member

Excellent. Thanks @caseywebdev !

mjackson added a commit that referenced this pull request Feb 13, 2015
[fixed] Use more correct children invariant
@mjackson mjackson merged commit 97847fa into remix-run:master Feb 13, 2015
@caseywebdev caseywebdev deleted the fix-invariant branch February 13, 2015 22:33
@lock lock bot locked as resolved and limited conversation to collaborators Jan 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants