-
Notifications
You must be signed in to change notification settings - Fork 48.6k
Error: Invalid target element for this operation -- IE9 #515
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
|
I'm starting to think that full-page react isn't worth supporting. It's soooo complicated to get right and every browser is different :( Thoughts? |
@petehunt :( Googling the issue it seems that |
Ok, from MSDN
So |
I guess we should just try to power through this and see how bad it is, eh? |
#oldestBugEvar |
We have something like that already - https://github.com/facebook/react/blob/master/src/vendor/core/getMarkupWrap.js |
@zpao it requires a bit more — for example it should take special care of I have a patch which does that but it is way too hacky, for example I use whole page components in Anyway, I'd be fine if we remove support for whole page components from React. |
How about we remove support and throw if someone tries to do something dangerous? |
I just sent out some new diffs internally that restrict full-page rendering to only supporting a single root that never changes (ie no unmounting) and that it must be used with server rendering. This way we can avoid innerHTMLing scary things like |
The text was updated successfully, but these errors were encountered: