fusion.js如何获取数据服务器端渲染?

时间:2019-05-23 03:43:39

标签: reactjs

我一直在寻找方法getInitialProps,但是没有运气。我试图使组件异步,但出现错误

Invariant Violation: Objects are not valid as a React child (found: [object Promise]). If you meant to render a collection of children, use an array instead.

0 个答案:

没有答案