How you write your ES Modules impacts the performance and maintainability of your code.