-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Hill Liu edited this page Feb 27, 2016
·
13 revisions
-
In server side you could render css style directly.
-
And for react-dom you could use renderToString and use a special flag to split normal output and react-dom.
- Such as
var tmp = ReactServer.renderToString(MyApp(
myJson
));
console.log('<!--start-->'+tmp);