Skip to content
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

React not rendering until refresh in IE 10 Windows 8.0 #1026

Closed
mlchang opened this issue Nov 12, 2015 · 6 comments
Closed

React not rendering until refresh in IE 10 Windows 8.0 #1026

mlchang opened this issue Nov 12, 2015 · 6 comments

Comments

@mlchang
Copy link

mlchang commented Nov 12, 2015

I'm using Redux in production in a web application. On Windows 8.0 in Internet Explorer 10, my react components are not rendered on the specified div. It's simply blank. Where I call

React.render(
  <Provider store={store}>
    {() => <App />}
  </Provider>,
  document.getElementById('content')
);

my <div id="content> </div> appears as is.

In every other broswer/OS combination everything works properly and the app is loaded into the that div on the DOM.

There is not much online about this specific issue. I decided to try out your examples in this browser operating system configuration. The same issue occurs. Have you seen this error before? Thanks

@gaearon
Copy link
Contributor

gaearon commented Nov 12, 2015

What is the error in console?

@mlchang
Copy link
Author

mlchang commented Nov 12, 2015

There is none.

@gaearon
Copy link
Contributor

gaearon commented Nov 12, 2015

Just in case: examples in Redux repo have hot reloading enabled which currently has problems with IE < 11. You are not meant to deploy code with hot reloading enabled in production!

Examples only serve as Redux examples, not “how to fully configure a real app”. You should create a separate production configuration, envify the project to use production build of React by setting process.env.NODE_ENV polfill (envify in Browserify, DefinePlugin in Webpack), minify code with UglifyJS, and disable hot reloading.

Is there a possibility that you're deploying an application that hasn't been envified and uses development .babelrc configuration with React Transform enabled?

@mlchang
Copy link
Author

mlchang commented Nov 12, 2015

I'll go ahead and verify all that is being done. Thanks @gaearon

@gaearon
Copy link
Contributor

gaearon commented Nov 12, 2015

No problem. I guess we should fix the examples to include the build process because I've seen people assume they're complete a couple of times.

@gaearon
Copy link
Contributor

gaearon commented Feb 25, 2016

Closing for inactivity.

@gaearon gaearon closed this as completed Feb 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants