Use React packages from NPM #197

Closed
Daniel15 opened this Issue Nov 18, 2015 · 0 comments

Projects

None yet

1 participant

@Daniel15
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

@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`.
7d225bc
@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