DRYing up Routing with Events
Learn how to use the DRY principle for routing with the help of events in Marionette.
We'll cover the following
Right now, our app is manually changing the URL and calling a controller action if the URL contains no fragment. However, that isn’t very
Triggering events for changing URL
Instead, let’s leverage events, as we can see in line 6 below:
Get hands-on with 1400+ tech skills courses.