Last active
August 29, 2015 14:22
-
-
Save sergiodxa/f5a6958cb706b74675ad to your computer and use it in GitHub Desktop.
Renderizar React.js a un string (útil para renderizar en el servidor)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import Home from './views/home'; | |
const html = React.renderToString(<Home />); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment