You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by poirazis September 20, 2022
The current way of interacting with components and changing properties of them, is reactive.
We have to set a State variable, and then using a Conditional UI rule act accordingly.
This is a very useful feature.
Now, i suggest there should also be an active way, via an Action.
To achieve the same result, using the reactive approach, would take setting a State variable and then 4 Conditional UI rules on 4 different Components. Which makes it complicated to maintain later and keep track of this logic.
With the active approach , it would take 1 Action, with 4 parameters easy to understand and maintain.
The text was updated successfully, but these errors were encountered:
Discussed in #7853
Originally posted by poirazis September 20, 2022
The current way of interacting with components and changing properties of them, is reactive.
We have to set a State variable, and then using a Conditional UI rule act accordingly.
This is a very useful feature.
Now, i suggest there should also be an active way, via an Action.
Scenario :
Button -> OnClick
"Update Component" Action
To achieve the same result, using the reactive approach, would take setting a State variable and then 4 Conditional UI rules on 4 different Components. Which makes it complicated to maintain later and keep track of this logic.
With the active approach , it would take 1 Action, with 4 parameters easy to understand and maintain.
The text was updated successfully, but these errors were encountered: