When are Barrel Exports Harmfulby@castarco
503 reads

When are Barrel Exports Harmful

tldt arrow
Read on Terminal Reader

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

Credibility

react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!
Hackernoon hq - po box 2206, edwards, colorado 81632, usa