Skip to content
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

fix: not call getInitialProps method #5398

Merged
merged 1 commit into from
Jul 11, 2022

Conversation

luhc228
Copy link
Collaborator

@luhc228 luhc228 commented Jul 11, 2022

问题描述:在 routes.ts 中使用 lazy 的方式导入组件,在进行 SSR 渲染时,没有调用 getInitialProps 方法

@luhc228 luhc228 requested a review from ClarkXia July 11, 2022 08:03
@ClarkXia ClarkXia merged commit b25f39a into release-next Jul 11, 2022
@ClarkXia ClarkXia deleted the fix/getInitialProps-not-be-called branch July 11, 2022 09:53
@ClarkXia ClarkXia mentioned this pull request Jul 11, 2022
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants