Skip to content

Dependency Injection #102

Open
Open
@k1mbl3

Description

Wow! You just took this project out of my mind! With all these 'pure Python webapp' libraries using WebSockets, I wondered when someone would leverage HTMX. Anyway, is there a way to inject dependencies into a parent component? For example, a generic snippet injecting the Alpine.js source into the <head> of the page?

It would be very helpful for creating component libraries that also depend on JavaScript libraries without forcing the final user to worry about setting up those dependencies correctly.

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions