So many times, we might want to write our JavaScript code in a single file but we want the code to be executed only if a particular route is matche...
For further actions, you may consider blocking this person and/or reporting abuse
Nicely done.
$0.02 from me take it or leave it.
Very true Vijay, It'll only be required if i wanted to chain methods. I'll edit accordingly. Thanks for noting that.
Super informative and well written. One small thing that jumps out at me is that you mention you are using ES6 classes but make no mention of the other ES6 features you are using.
The example that jumps out at me:
This is a great example of shorthand properties, and making note of this may or may not be beneficial for newcomers.
Outside of that, this was an excellent first post! All these awesome first posts are making me really want to get my own up here now...
Kudos!
Thanks alot. You're right about making no mention of other ES6 features. I'll edit the post and generalize the use of es6 features rather than specifying just es6 classes.
Aside from the Web interface, you can likewise utilize the free downloadable Netgear Genie application for the activity network ip address: 192.168.0.254
Nice :)
Maybe you can add a hash change event or something like that.
But I loved :)
Thanks.
Very true, Ali. But i just tried keeping it simple.
Enjoyed the article, interesting read, thanks.
I can't make it to work. Any route I navigate send me to a Not Found (404) page. What am I missing? Thanks.
This is because you need to setup a router from the serverside that routes all request to the server to a single page. Then take over the routing with javascript.
very good entry, but I have a doubt the code runs in the front end