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
=> View lit tag | View webdev tag This content has been proxied by September (ba2dc).Proxy Information
text/gemini