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

后端 未结 0 1321
無奈伤痛
無奈伤痛 2021-02-15 21:19

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

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


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