teslamotors / informed

A lightweight framework and utility for building powerful forms in React applications
https://teslamotors.github.io/informed
MIT License
956 stars 173 forks source link

relevant is not working properly for the state variables which are created in MultieStep components #375

Closed SoloDev45 closed 2 years ago

SoloDev45 commented 2 years ago

Describe the bug In the below code sandbox link my use case is, if the isLoggedIn value is true then the second step shouldn't be rendered. For that I am returning the isLoggedIn value in the relevant function. But here even though the variable isLoggedIn value is changed to true the second step is still rendering. I have tried with relevancedeps also which also didn't give me any change.

To Reproduce

https://codesandbox.io/s/multie-step-practice-forked-1zbtd?file=/src/App.js

joepuzzo commented 2 years ago

Can you not open another issue for the same issue please. You already have an issue for this, lets keep conversation over there.