Barrel Exports considered harmful

This page summarizes the projects mentioned and recommended in the original post on dev.to

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • mercurius

    Implement GraphQL servers and gateways with Fastify

    What this does is to overwrite or augment the types exposed by the pointed module, and can be used (for example) when relying on autogenerated code. One interesting case of this is GraphQL to TypeScript code generation, and how this is integrated with the amazing Mercurius library (made by some of my colleagues at NearForm! 😜).

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • jest

    Delightful JavaScript Testing.

    It's worth noticing that not only static analysis tools can perform worse when in presence of barrel exports, test runners such as Jest can also see their performance badly hurt, affecting our productivity, and the associated costs of our CI pipelines.

  • foundation

    GraphQL Foundation Charter and Legal Documents (by graphql)

    What this does is to overwrite or augment the types exposed by the pointed module, and can be used (for example) when relying on autogenerated code. One interesting case of this is GraphQL to TypeScript code generation, and how this is integrated with the amazing Mercurius library (made by some of my colleagues at NearForm! 😜).

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • An Introduction to Unit Testing in Node.js

    4 projects | dev.to | 22 Aug 2024
  • Building a Web 3.0 E-commerce App with Hardhat and React.js

    2 projects | dev.to | 18 Aug 2024
  • QuAlity Drinks

    3 projects | dev.to | 4 Aug 2024
  • My three epiphanies of TDD

    4 projects | dev.to | 14 Jul 2024
  • Is the VCR plugged in? Common Sense Troubleshooting For Web Devs

    6 projects | dev.to | 10 Jul 2024