webcomponents-cg / community-protocols

Cross-component coordination protocols
179 stars 12 forks source link

Small correction in context.md #61

Closed fireflysemantics closed 4 months ago

fireflysemantics commented 6 months ago

Just a really small correction ... in context.md there's this sentence.

A provider will attach an event listener to the DOM tree to catch the event, and if it will be able to satisfy the request MUST call stopPropagation on the event.

Should it be ...

A provider will attach an event listener to the DOM tree to catch the event, and if it will be able to satisfy the request it MUST call stopPropagation on the event.

So ... it MUST... ...

justinfagnani commented 6 months ago

Good catch

fireflysemantics commented 6 months ago

Just wanted to add that @lit/context is a ridiculously cool thing!! Absolutely Brilliant!!