How to access updated redux store state in getServerSideProps next js?

后端 未结 0 1060
陌清茗
陌清茗 2021-02-15 21:34

I\'m trying to get the latest redux state in getServerSideProps like this :

export const getServerSideProps = async (ctx) => {
    const state = store.getState         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题