Non-relative module imports #902
-
It would be nice to be able to import without having the relative import path. ExempleCurrently, in the Bullets component, we import the Button component. So the import is: import Button from '../../atoms/Button' With Non-relative import, we would have something like this: import Button from 'atoms/Button' To understand how to implement and what the implications are, here is the official Typescript documentation. We can just start in the |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
This would be awesome! please! Also, store-sdk should be really simple to do this too. A nice first issue! |
Beta Was this translation helpful? Give feedback.
-
okay, on store-ui i implemented on #912 |
Beta Was this translation helpful? Give feedback.
-
@emersonlaurentino could you make it more clear what the advantages of making this change are? Also, wouldn't this be easier to do once we have a more stable structure in place for all components from |
Beta Was this translation helpful? Give feedback.
This would be awesome! please! Also, store-sdk should be really simple to do this too. A nice first issue!