Posts for "js"
How JustComments reduces the amount of fetched data
Oleksii RudenkoOctober 29, 2018 6:00 PM
How JustComments reduces the amount of fetched data with lazy loading resulting in 21.7 KB of downloaded data
JS code linting
Ruslan PrytulaFebruary 13, 2017 12:18 AM
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 10: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 7: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