I am running into an issue where I am not entirely sure what’s the best way to manage state in the app I am building. I have a LiveComponent that shows a user all their events (using an external api). The issue is that I want this LiveComponent on many screens.
The part that confuses me is that I want the updates to this LiveComponent to happen based off another Components events. When a user drags an item from a different LiveComponent to the Events LiveComponent I’d want to create a new event. Therefore the HTTP call and state update for the Event LiveComponent is reusable but the trigger is dependent on the screen.
Hopefully that makes sense but let me know if I can clear things up more.