We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I use koa2 and koa-ejs to make a react ssr demo koa code:
const markup = renderToString( <Provider store={store()} > <RouterContext { ...props } /> </Provider> ); await ctx.render('index', { markup });
chrome devtool look like this:
<html> <head> <title>koa2 webpack2 react ssr</title> </head> <body> <div id="root"><div data-reactroot="" data-reactid="1" data-react-checksum="-1292022691"><h4 data-reactid="2">This is React App Component</h4><a href="/a" data-reactid="3">A</a><a href="/b" data-reactid="4">B</a><a href="/c" data-reactid="5">C</a><div data-reactid="6">This is B</div></div></div> <script src="./bundle.js"></script> </body> </html>
why?
The text was updated successfully, but these errors were encountered:
It's my mistake, i change my template <%= obj &> to <%- obj &> T_T
Sorry, something went wrong.
No branches or pull requests
I use koa2 and koa-ejs to make a react ssr demo
koa code:
chrome devtool look like this:
why?
The text was updated successfully, but these errors were encountered: