-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Hotfix: store provider in ssr lazy #4064
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
Hotfix: store provider in ssr lazy #4064
Conversation
| const res = await request('/user'); | ||
| return res; | ||
| // const res = await request('/user'); | ||
| // return res; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
可以await 一段时间模拟请求
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
| $('head').append(` | ||
| <script> | ||
| window.__ICE_SSR_ERROR__ = '${error}'; | ||
| window.__ICE_SSR_ERROR__ = "${error instanceof Error ? error.message : error}"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
错误代码里面是否肯定没有双引号
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
No description provided.