Skip to content
New issue

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

服务端请求数据后再渲染的几个问题 #8

Open
wd2010 opened this issue Jan 5, 2018 · 0 comments
Open

服务端请求数据后再渲染的几个问题 #8

wd2010 opened this issue Jan 5, 2018 · 0 comments

Comments

@wd2010
Copy link

wd2010 commented Jan 5, 2018

1.怎样根据请求路由的不同服务器端请求不同接口的数据返回给首屏?(暂时我的实现是根据在路由层放入action,前后端共用去请求数据)

2.对于多层结构的路由的首屏服务器端的数据请求是怎样的?(我暂时只能用router-config的方式去写一个配置文件,但总感觉不是很好)

请楼主帮忙指点下,我一直在纠结这里该怎么做!https://github.com/wd2010/React-universal-ssr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant