Professional Documents
Culture Documents
11 - Default Export VS Named Export
11 - Default Export VS Named Export
11 - Default Export VS Named Export
DEFAULT EXPORT
VS
NAMED EXPORT REACT
PRESENTER: MOHAMMAD ADIL
Adil Named Export
Adil
CHILD Doctor
Default Export
Adil
Chotay Munna
Baby
CHILD Doctor
App Named Export
App
Component Index.js
Default Export
App
Comp New
MyApp
Component Index.js
Default Export Vs Named Export REACT
• With named exports, one can have multiple named exports per file.
• Then import the specific exports they want surrounded in curly
braces.
• The name of imported module has to be the same as the name of the
exported module.