![Surma on X: "Today's “huh?!” moment in JavaScript: `import * ...` includes the default export. `export * ...` does NOT include the default export. You have to separately and explicitly re-export the Surma on X: "Today's “huh?!” moment in JavaScript: `import * ...` includes the default export. `export * ...` does NOT include the default export. You have to separately and explicitly re-export the](https://pbs.twimg.com/media/FPQDJ0wXoAQKhTh.jpg:large)
Surma on X: "Today's “huh?!” moment in JavaScript: `import * ...` includes the default export. `export * ...` does NOT include the default export. You have to separately and explicitly re-export the
![How imports work in React. My understanding of the module system… | by Kawere Wagaba | Nerd For Tech | Medium How imports work in React. My understanding of the module system… | by Kawere Wagaba | Nerd For Tech | Medium](https://miro.medium.com/v2/resize:fit:1400/1*_QdIOneELIPeFW1D_6hEzw.png)
How imports work in React. My understanding of the module system… | by Kawere Wagaba | Nerd For Tech | Medium
![SyntaxError: Cannot use import statement outside a module - Get Help and Help Others - RedwoodJS Community SyntaxError: Cannot use import statement outside a module - Get Help and Help Others - RedwoodJS Community](https://rwjs-discourse.nyc3.cdn.digitaloceanspaces.com/original/2X/6/6f174fabe928c5462dbe5330f4226a708dd275ae.png)