Presenter -> when expression not reacting to state changes, Maybe I should use a FlowPresenter? #758
Unanswered
shaharKeisarApps
asked this question in
Q&A
Replies: 1 comment
-
Are you able to write a reproducing test? Using circuit's test extensions should help with trying to debug this |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm currently developing an application using Circuit, and I've encountered a situation where a when expression inside a
doesn't seem to react to changes in a state variable (isPermissionGranted in my case).
Here's a simplified version of my code:
In this code, I'm expecting the when expression to react to changes in the isPermissionGranted state, and accordingly return a different state. However, it seems like the when expression isn't "collecting" the new values of isPermissionGranted, and the UI isn't updating to reflect the new state.
I consider using FlowPresenter, as in the Counter sample.
this is my full code:
Any guidance or suggestions would be greatly appreciated.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions