I disagree with #2 and #3. After having used barrel files and default exports regularly, I’ve decided they are mostly anti-patterns. I would prefer explicit imports of module paths and named exports given the option.
After taking a closer look at #3 I see you are advocating for named exports over defaults 👍.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I disagree with #2 and #3. After having used barrel files and default exports regularly, I’ve decided they are mostly anti-patterns. I would prefer explicit imports of module paths and named exports given the option.
After taking a closer look at #3 I see you are advocating for named exports over defaults 👍.