Question · JavaScript and TypeScript course · Module 8: Events and the DOM

Event Bus Pattern

What is the main advantage of the Event Bus pattern in application architecture?

Answer options

  • Increases DOM rendering performance
  • Enables loose coupling between application modules
  • Automatically manages event listener memory
  • Replaces the need to use addEventListener

You can check the correct answer by solving this task in the CodeWorlds game.