Toot

Written by Keith J Grant on 2024-12-12 at 18:01

Lit folks: are there any good patterns for managing imports?

Right now, my Lit project has an index.js that just imports ALL my components, but it's kind of a pain to update it every time I add a new component. I'd kind of prefer to import a component in the file of the parent component -- but there's not really a reason to since the class itself is unused in that file.

[#]lit #webdev

=> More informations about this toot | View the thread | More toots from keithjgrant@front-end.social

Mentions

Tags

=> View lit tag | View webdev tag

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113641161114879820
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
225.953676 milliseconds
Gemini-to-HTML Time
0.459299 milliseconds

This content has been proxied by September (ba2dc).