Skip to content

Use React packages from NPM #197

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
Daniel15 opened this issue Nov 18, 2015 · 0 comments
Closed

Use React packages from NPM #197

Daniel15 opened this issue Nov 18, 2015 · 0 comments

Comments

@Daniel15
Copy link
Member

See facebook/react#5381

Need to have a bundle like this:

global.React = require('react');
global.ReactDOM = require('react/lib/ReactDOM');
global.ReactDOMServer = require('react/lib/ReactDOMServer');

And Webpack it to produce the react.js file that should be loaded by ReactJS.NET

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

1 participant