Posts for "js"
JS code linting
Ruslan PrytulaFebruary 12, 2017 6:18 PM
Last few years have dramatically changed JavaScript. Nowadays, a typical JS application is a big code base that involves a few developers and significant efforts. Having a linter in your JS app is a must-have feature. In this post I'll try to encourage developers to use one in their JS apps.
Best Practices for Using Promises in JS
Oleksii RudenkoOctober 21, 2015 4:29 PM
A list of 6 things that I consider as best practices when it comes to working with Promises
How to Start the App as Early as Possible or DOMContentLoaded vs window.onload
Oleksii RudenkoJune 23, 2015 1:55 PM
There are cases when you need to show your app as soon as possible without waiting for the page to be completely loaded. It's a common requirement for embeddable apps which are injected into a 3rd party web page via asynchronous `script` tag