teslamotors/informed

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

SoloDev45 opened this issue · 1 comments

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

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