Skip to content
This repository has been archived by the owner on May 9, 2020. It is now read-only.

SSR 功能问题反馈 #141

Closed
imsobear opened this issue Mar 22, 2020 · 3 comments
Closed

SSR 功能问题反馈 #141

imsobear opened this issue Mar 22, 2020 · 3 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@imsobear
Copy link
Member

imsobear commented Mar 22, 2020

P3: 在 getInitialData/getInitialProps 中调用 request 时 appConfig 没生效

老问题 #122 ,跟 SSR 无关,但 SSR 用到这个能力概率比较高

P3: getInitialData 和 getInitialProps 不能写相对地址

写了相对地址的话,服务端渲染时始终会去请求 127.0.0.1:80/,这块应该无解,需要在文档上说明下

Mock 能力失效

优先级 P0,faas 可能有一样的问题

start 时没有任何 debug 信息,页面一直在 loading

优先级 P1,输出必要的日志信息,同时看下多次请求的话前一次能不能取消掉,现在好像容易卡掉

P3: 偶现 Error: HtmlWebpackPlugin: could not load file /Users/sobear/work/biz/ssr-t est/public/favicon.png

为什么有个 sst-t est

依赖 next 组件报错

优先级 P0

image

改了 js 刷新页面 html 内容没更新

优先级 P0,之前反馈过貌似并没修复

P2: 脚手架默认代码里存在 window 使用问题导致服务端渲染报错

image

P2: server/index.js 代码没有 sourcemap,报错无法排查

image

P3: 一个 warning

image

P2:render 方法里面如果挂了,应该打出错误日志并自动降级到纯 CSR 渲染,不应该直接报错

@imsobear imsobear added the bug Something isn't working label Mar 22, 2020
@ClarkXia ClarkXia mentioned this issue Mar 23, 2020
@imsobear
Copy link
Member Author

imsobear commented Mar 24, 2020

P0:第一次启动时报错

image

@chenbin92 chenbin92 added this to the 03.23 ~ 03.27 milestone Mar 25, 2020
@imsobear
Copy link
Member Author

P2: initialData 除了 initialStates,其他场景能不能直接用, 怎么用

@chenbin92
Copy link
Contributor

未完成的已独立拆解 issue 进行跟进:

#170
#171
#168

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants