I tend to use pages and load via AJAX from my main screen.
My routes looks like this:
// Buttons page
However, the about page, (loaded by url)
The Buttons page (loaded by componentUrl)
I can run code in
- Is there any difference in performance using $$(document)… approach as opposed to using ES6 style methods in return object? Which is preferred?
- If I want to run JS code, and add it to a specific page, without adding it to the root app init, do I have to use and componentUrl… will it not work in normal pages?