issues
search
Chronstruct
/
primitives
MIT License
2
stars
0
forks
source link
on <event_>
#105
Open
kylpo
opened
2 years ago
kylpo
commented
2 years ago
Consider:
Still use
<event_ />
wrapper since these props are not compiled away?
Problem: what about css hover events? Kind of messes with this level of abstraction.
Maybe css for events that affect configuration? (even media queries)
DOM for events that have non-config side effects
A reason to use it:
There's
presentation
and
interactivity
. Conceptually, I like to separate the two when deconstructing a UI.
This is why wrapping in
<event_>
may still be preferred.
Consider:
<event_ />
wrapper since these props are not compiled away?A reason to use it:
<event_>
may still be preferred.