2

我们知道服务器端渲染有利于 SEO,尤其是对于一些博客应用。但是与客户端渲染应用程序相比,它会失去一些好的用户体验功能并且不容易调试。

我想知道是否有办法将服务器端渲染技术部分应用于 Web 应用程序的部分(如应用程序的博客部分),但对其余部分使用客户端渲染。有点将服务器端和客户端渲染混合在一起。不确定这是同构应用程序的含义。

4

1 回答 1

2

Isomorphic JavaScript(aka Universal JavaScript) can do that. You can make a web application that the first rendering comes from the server-side, and all activities after that are rendered by the client-side. Please be noted that the both sides share the same code.

于 2015-07-17T09:30:46.563 回答