Replies: 1 comment 1 reply
-
|
因为不会😂😂…… 你不说我都不知道,我是前端泥腿子 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
我看后端使用 chuned ndjson 的方式,而非 SSE:
前端自定义解析逻辑:
这种会容易出 bug(buffer 边界处理)吧?
没有想明白为什么不用 SSE 的方式呢?更加规范、库自动处理,前端也有
@microsoft/fetch-event-source来自动解析。Beta Was this translation helpful? Give feedback.
All reactions