-
Notifications
You must be signed in to change notification settings - Fork 551
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
ssr 抽离到单独仓库 #441
Comments
san ssr 在主仓库内,有一个逻辑是:当前版本生成的 ssr code,在浏览器环境下同版本的 san 能跑。毕竟会有 new feature 甚至是 breaking change。需要考虑这个逻辑。 |
假设 san 的发版遵循 semantic version。目前实现是 san-ssr 以 dependency 方式依赖 san;计划发版的原则是这样的:
下面举几个例子。考虑 san 的版本升级的情况:
|
由于 zb 的原因
建议:
|
harttle
added a commit
to harttle/san
that referenced
this issue
Dec 26, 2019
errorrik
added a commit
that referenced
this issue
Dec 27, 2019
refactor: move ssr into github.com/searchfe/san-ssr, #441
zb = zhuang bi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
SSR 只依赖 san 的开放接口和文档就能实现,理论上可以单独维护。在某些场景下需要 TypeScript 才能正确解析组件代码,因此需要一个支持 TypeScript 比较好的仓库,独立维护比较方便。这些场景包括:
考虑到其他语言的 SSR 无法支持 JS 特性全集,最终只能达到部分实现状态(不完美的 SSR),不应作官方支持。所以希望得到的目标状态:
这个仓库是一个起点: baidu/san-ssr#1
The text was updated successfully, but these errors were encountered: