<context> - Separate context in 2 tags
ccinelli opened this issue · 1 comments
ccinelli commented
Description
How to use of <context>
is not intuitive.
I think that splitting it in 2 tags would add clarity:
<context-provider>
or<set-context>
<context-consumer>
or<get-context>
Why
Because people should not define attributes as they are getting attributes. This kind of syntax make clear if we are defining a context or if we are consuming it.
Possible Implementation & Open Questions
The separation is almost there in the helper.
DylanPiercey commented
The tags api preview now does this.