Modules benefits
Modules are a kind of miniature app within a larger app that isolate a particular group of inputs and outputs with a UI and a server part.
Avoid namespace collisions
Allows encapsulate distinct app components
Facilities collaboration
Modules works as functions for Shiny.
- Helps you break your big, complex app into smaller parts.
- Makes Shiny code more readable.
- Makes Shiny code easier to debug.
- Makes Shiny components reusable.
- Opens the possibility to apply unit test.