Oh! Like including the actual path...yes! I had an earlier comment on this. Totally see how that’s way better...I’ve made a note to update this code note. Thank you for pointing it out! I like it, cause it helps me
Improve my code notes 😊👏
You can also re-export a default import.
It's already implicit, given the list already points the imported.default thing, but I think it's special enough to be included:
export{defaultasanyName}from'path/module'
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Perhaps you could add the use case for export/import at the same time.
i.e export { named } from 'path/module'
Oh! Like including the actual path...yes! I had an earlier comment on this. Totally see how that’s way better...I’ve made a note to update this code note. Thank you for pointing it out! I like it, cause it helps me
Improve my code notes 😊👏
You can also re-export a default import.
It's already implicit, given the list already points the
imported.default
thing, but I think it's special enough to be included: