Use React packages from NPM #197

Daniel15 opened this Issue Nov 18, 2015 · 0 comments


None yet

1 participant


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

@Daniel15 Daniel15 added a commit that closed this issue Dec 1, 2015
@Daniel15 Daniel15 Use React from NPM. Closes #197
Also switch from `React.renderToString` to `ReactDOMServer.renderToString` now that we actually have access to `ReactDOMServer`.
@Daniel15 Daniel15 closed this in 7d225bc Dec 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment