Business Studies, asked by iganaie714, 1 year ago

What is diffrence between export and export default?

Answers

Answered by Anonymous
0
Because it will always resolve to whatever is the default export of A. Here, we import the default export as A, and named exports called myA and Something as myAand Something, respectively. ... However it is up to you to choose how to export things: for example, a module might have nodefault export at all.
Similar questions