Which situation is best modeled with an Effect rather than an event handler?
Sending a purchase request when the user clicks "Buy"
Updating input state while typing
Connecting to a chat server whenever the component becomes visible
Opening a dropdown menu after button click
This is a premium drill. Continue on to the next free drill in the sequence.