newbreedofgeek / react-stepzilla

A React multi-step/wizard component for sequential data collection
https://newbreedofgeek.github.io/react-stepzilla/
ISC License
618 stars 176 forks source link

Issue with isValidated when used with Redux's @Connect #92

Open narendravenkata opened 6 years ago

narendravenkata commented 6 years ago

Hi I am using redux along with stepzilla, i need to save values at every step so I am using @connect with redux and isValidated() is not triggered , I tried to use @connect in Main component where we define steps and send required fields as props to each step but i am not able to get it done.

Please help me with this issue

newbreedofgeek commented 6 years ago

@narendravenkata Tnx for raising this. I haven't tried it with redux's @connect - I'm guessing it wraps StepZilla with a HOC and therefore the reference is lost.

If this is the case, it's a issue we should try and fix as redux support is very important to StepZilla.

@agent3bood @zeel @Aapzu @elisechant @avivr have you guys seen this in your work on StepZilla, anyone can recommend a fix? Would appreciate heaps

Thanks all...

learninggear commented 6 years ago

@narendravenkata @newbreedofgeek Looking forward for solutions

In my project we got stuck with the same @connect Issue. using 4 steps loading dynamic components . Not triggering isValidated(). Somehow made it to work from child to parent using props, Whatever we do step at index 0 never triggers.

Thanks

newbreedofgeek commented 6 years ago

@zeel would really appreciate your help in solving this issue. Maybe create a new branch and an updated example in src/examples that uses redux and @connect so we can reproduce the issue... I can then help you find the solution...

newbreedofgeek commented 6 years ago

Duplicate of #55

Djuki commented 6 years ago

@narendravenkata @zeel I has the same issue, and I saw that a lot of other people have this kind of issue as well.

I have seen several opened issues with the same topic without a proper solution. Is there some light at the end of the tunnel that we can hope for? Is there any hope that we can use redux and Stepzilla in the same project?

This is a great library and thanks for all the work you invested in.

jffin commented 6 years ago

Same issue with i18next package in next.js project.

tahaYassineM commented 4 years ago

Is this issue has a solution or not yet?