Replies: 2 comments
-
I also prefer dot notation. However, one of the disadvantages of this method is that it does not support tree shaking. This may be the reason. |
Beta Was this translation helpful? Give feedback.
0 replies
-
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 think it would be much better for subcomponents to be used like this:
instead of what we have now:
Pros of using dot notation:
Cons:
Are there any reasons why the components are not like this?
Beta Was this translation helpful? Give feedback.
All reactions