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

2020面试总结—— React SSR同构渲染 #40

Open
fengmiaosen opened this issue Mar 16, 2020 · 0 comments
Open

2020面试总结—— React SSR同构渲染 #40

fengmiaosen opened this issue Mar 16, 2020 · 0 comments

Comments

@fengmiaosen
Copy link
Owner

fengmiaosen commented Mar 16, 2020

react ssr 的核心就是同构,没有同构的 ssr 是没有意义的。
所谓同构就是采用一套代码,构建双端(server 和 client)逻辑,最大限度的重用代码,不用维护两套代码。而传统的服务端渲染是无法做到的,react 的出现打破了这个瓶颈,并且现在已经得到了比较广泛的应用。

参考资料

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