Replies: 1 comment
-
|
Hi @LucidDan thanks for the suggestion. I think generally the complexity it will introduce in the codebase may not be worth the benefit... It doesn't sound like |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've started using cotton relatively recently, and I'm already running into a problem, but not so much a technical one as an organisational one: my component names get quite long, due to all the folders I'm using the organise things. (a non-contrived example might be something like
<c-twui.navbar.menu.item>, which is manageable but getting a bit long already).I wonder if there has been any consideration of the idea of "importing" the components you're going to use.
e.g. perhaps something like:
It'd be nice to be able to choose arbitrary html tag names like the above, but I'd also be totally fine if it still required the 'c-' prefix instead, I haven't dug through the loader code to understand the implications/limitations.
This seems like it would help, and could probably coexist with the global namespace without any issues.
However, please feel free to convince me of why its a terrible idea, instead. ;-)
Beta Was this translation helpful? Give feedback.
All reactions