Skip to content

ReactMount should not optimistically traverse unknown nodes #2261

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

Closed
wants to merge 1 commit into from
Closed

ReactMount should not optimistically traverse unknown nodes #2261

wants to merge 1 commit into from

Conversation

syranide
Copy link
Contributor

From #2005, superseded by #2262

I think it's a mistake to optimistically traverse unknown nodes. The only really valid/common use is implicit tbody, but even that is a rather bad idea (#2005). It can also hide important errors (don't mess with siblings of React nodes). We're better off telling the user something is wrong and improving the error message the user receives (#1987).

Test plan: grunt test

@syranide
Copy link
Contributor Author

No point in half-assing, I'm going with #2262 to reduce the PR clutter.

@syranide syranide closed this Sep 29, 2014
@syranide syranide deleted the pessirm branch September 29, 2014 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant