当我从useEffect()发送数据到我的页面时,页面呈现得很完美,但是getStaticProps()或getServerSideProps()根本不工作!'import thunk from 'redux-thunk'
import一旦我的商店被设置,我把我的应用程序包装在Provider上,我最初想使用useEffect()钩子来填充在我的i
在我的Next.Js应用程序中,我使用了redux和redux saga。我想使用ssr发出http请求:export const getStaticProps = wrapper.getStaticProps(async ({ store }) => { console.log(selector);问题是,当我运行应用程序时,我得到一个错误:Error: could not