Open lightninglu10 opened 6 years ago
Did you user use the react-snapshot render function instead of the react render function? If not, do the following in your index.js:
import {render} from 'react-snapshot' // instead of import {render} from 'react-dom'
render(
<App />,
document.getElementById('root')
)
I have the exact same issue, any solution?
Hey guys, I've included react-snapshot in my project, and have these routes defined:
But when I look at the html files in
build/
, they're all empty just like the original index.htmlfor example:
so it looks like it's not actually grabbing the content.