What is router in backbone? How do you create a router with backbone?
Answer Posted / Dheeran Singh
A Router in Backbone.js is responsible for handling URLs and navigating between different views or routes within an application. To create a router, you can use the Backbone.Router constructor and define routes as properties on the router object. The default method to handle a route is `route(route, name, callback)`.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers