EddieHinkle
EddieHinkle

Thinking through hooks versus event callbacks: eddiehinkle.com

|
Embed
Progress spinner
In reply to
oyam
oyam

@EddieHinkle I much prefer the evented model (depending on how you implement it), because the piece generating events isn't coupled with the consumer, and your consumers can generate events as well, that other systems can consume.

|
Embed
Progress spinner
EddieHinkle
EddieHinkle

@oyam Awesome! That’s some great feedback. I definitely think the event model might have the better solution.

|
Embed
Progress spinner