Skip to content

Support view injection via JSX #14

@tbuschto

Description

@tbuschto

It should be possible to let views be injected when using JSX expressions.

One option is to let createElement first check the attached injector for injectionHandlers of that type. If they are present, use that handler, otherwise create instance directly. To pass the creation properties a new decorator @injectionParam could be used to mark a parameter index for passing the injection parameter, or an option of @injectable. Or just assume it's the first parameter.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions