You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a small DX improvement so we can cleanly group related components, I'm thinking to allow the discovery of index.html inside subdirectories. To demonstrate:
Say I have a sidebar component. And in the sidebar I have a block, title, link. The current way I have 2 choices:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
This is a small DX improvement so we can cleanly group related components, I'm thinking to allow the discovery of index.html inside subdirectories. To demonstrate:
Say I have a sidebar component. And in the sidebar I have a block, title, link. The current way I have 2 choices:
Con: This requires us to use
<c-sidebar.sidebar />
for the main component.Or
Con: This scatters component-related files around.
Suggestion:
This allows us to access the main component like
<c-sidebar />
whilst still being able to access its sub components like<c-sidebar.title />
Beta Was this translation helpful? Give feedback.
All reactions