webtides / element-js

Simple and lightweight base classes for web components with a beautiful API
MIT License
28 stars 3 forks source link

Enhance requestContext with parameters #95

Closed quarkus closed 1 year ago

quarkus commented 1 year ago

requestContext needs more parameters so that the event can also be composable.

The latter means that the requests will not travel over shadow roots -> DI not working hen rendering in shadow dom.

Also .. think about composable: true by default .... makes sense for DI for sure but maybe also for elementjs