What can i use instead of redux for next.js

248 views Asked by At

Next-wrapper-redux is not good solution for global state management. I have tried use it 4 times in next.js and every time it doesn't work. What can i use instead for global state in next.js? I just need in sever-side-props function, dispatch data to global state. Thanks in advance

1

There are 1 answers

0
Hazrat Gafulov On BEST ANSWER

I am a next developer and I use context api for state managment.and l suggest you to use it. Thanks!