Default Or Named Export
ES6 provides us to import a module and use it in other file.
ES6 provides two ways to export a module form a file:
named export
default export
Default Export: (export default)
One can have only one default export per file.
when we import we ...
megha17.hashnode.dev2 min read
Aryan Namdev
Software Engineer | Building Scalable Web Apps
Helpful!