Reputation: 725
I am working on a project with list-based menu options. These menu items interact with each other. For example, you could be customizing a pizza, and for a specific deal you get 3 free toppings. They can be meat, veg etc. Once 3 items are chosen the other items states will change. Either the toppings will show as disabled; or they will show the extra cost to add the additional toppings.
We don't want to have to redraw all of the items to update the views. What would be better would be to have a flow or a manager that the items subscribe to; and then they would change their presentation when there is an event change. Could be a addCost event, or a disableOption etc.
I have seen some options in this question. Can we do this with flows?
Upvotes: 0
Views: 803