My (probably controversial) take on why the barrel exports pattern can be harmful.

  • Muad'Dibber@lemmygrad.ml
    link
    fedilink
    arrow-up
    2
    ·
    2 years ago

    In many ways its kind of moot, because most IDEs can auto-import. IE you start typing let x = myFunctionFromAnotherFile(... and it automatically adds an import at the top of the file.