我有一个使用apollo graphql从后端获取数据的nextjs项目。我正在尝试使用服务器端渲染来渲染我的页面。但我目前正在使用graphql apollo react钩子从后端获取数据,而react钩子阻止我在getServerSideProps内部调用后端。 我该如何解决这个问题?import * as React from "
我想从Firebase存储中获取项,并将它们设置为状态。我可以从哪里导入IDE推荐我使用的类型"Reference“?const ListOfFiles: React.FC = () => { const firebase = useFirebasequestion is concerning about what type to put here and wh