Activity Forums Salesforce® Discussions What is the different between router and route in Angular 2?

  • Manpreet

    Member
    February 15, 2018 at 4:05 pm

    Hi Pranav,

    Router: Displays the application component for the active URL. Manages navigation from one component to the next.

    Route: Defines an array of Routes, each mapping a URL path to a component.

    Thanks.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos