-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
UmiJS SSR TODO #2645
Labels
Comments
还有这里的,#2543 (comment) |
|
P1 umijs/umi-request 同构请求能力,客户端 / 服务端请求接口共用。 这个有具体的迭代计划吗? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Background
#2543,可以根据这个例子 umi-example-ssr-with-egg 体验下 Umi SSR
Proposal
P0不做 external,全量打入。服务端代码大小不影响。 feat: ssr disableExternal #2906@alipay/bigfish/react
alias 方式既不能 external,也不能 全量打进。How to alias externaled module path? liady/webpack-node-externals#66P0 findRoute active,可以包括 *.html(/home == /home.html)fix: 修复 html 后续路由问题,按静态化方式生成路由 plugins#7P1 dev 时禁用 babel runtime 插件(待复现)P1 dev 时 output 目录除了有umi.server.js
外,还有大量的hot-update
文件,需要优化删掉。 fix: ssr dev hot files should in memo #2681P1 dev 时 CSS Modules client 与 server 策略不一致P1 需要开启 manifest,才能运行feat: tweak ssr manifest, not config manifest when use ssr #2802P1 国际化 locale 报错 fix: umi ssr locale #2786P1Page.getInitialProps
的参数问题,feat: dva ssr support #2738 (comment)P1 结合 dva example。https://github.com/umijs/umi-example-ssr-with-egg/blob/master/app/web/pages/home/index.jsxP1 umijs/umi-request 同构请求能力,客户端/服务端请求接口共用。Feat/support node http umi-request#65P1 基于 antd 封装的上层组件库 less 报:SyntaxError: Invalid or unexpected token
(father)有关 基于 antd 的组件库 ssr 时报错 father#64P2: 全局变量和内存问题,删除 windows 变量umi/serve
,降低服务端使用门槛,里面包含主要服务端框架的中间件。(需要经过实际场景检验,umi ssr 服务端最佳实践) https://github.com/umijs/umi-ssr-middlewares@sorrycc 看看还有哪些需要补充下?
The text was updated successfully, but these errors were encountered: