-
页面有很多公共组件,里面的接口请求也需要走SSR |
Beta Was this translation helpful? Give feedback.
Answered by
robinv8
Jun 23, 2021
Replies: 1 comment 2 replies
-
如果在子组件使用 getInitialProps 会加大 SSR 的复杂度,不建议这么做,也没必要这么做 |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
zfhslfgit
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
如果在子组件使用 getInitialProps 会加大 SSR 的复杂度,不建议这么做,也没必要这么做