Understanding the Difference Between Named and Default Exports in React
Export vs Export Default — which is right for you?
Published in
3 min readFeb 16, 2022
If you are new to React and have been wondering why some components are exported with a default
tag and some aren't, this article will give you a breakdown of the differences.
export function MyComponent() {}