When are Barrel Exports Harmfulby@castarco
560 reads

When are Barrel Exports Harmful

tldt arrow
Read on Terminal Reader
Read this story w/o Javascript

Too Long; Didn't Read

The barrel exports saves us from having to remember too many import paths, and from explicitly export every symbol from our sub modules inside the package... But sometimes can be harmful. When and why, then?

Company Mentioned

Mention Thumbnail
featured image - When are Barrel Exports Harmful
Andres Correa Casablanca HackerNoon profile picture

@castarco

Andres Correa Casablanca


Receive Stories from @castarco


Credibility

react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!