Hello I have a component StepWizard
with local state.
I'm trying to change it to use redux-toolkit
instead.
I'm stuck on switching the steps with state provided from store. What I'm trying to achieve is to be able to control the changing the steps inside of StepWizard
and outside. Can someone please give me a hint what I'm doing wrong? Thank you.
The problem was using redux
without any library that binds both together. And also passing store manually to components. Everything works smooth wit react-redux
+ redux-toolkit
set.