-
Auto-reloading (safe-write) issues of application development servers
I have discovered new module bundler for developing applications in JavaScript. It’s called Parcel.js and my initial impressions are positive. That’s what I tweeted about it: https://twitter.com/jernejsila/status/962262223967186944 Parcel is a web application bundler, differentiated by its developer experience. It offers blazing fast performance utilizing multicore processing, and requires zero configuration. Basically a fast Webpack alternative…
-
Input validation with Folktale
In this post I’ll show a way to do input validation in JavaScript using Folktale which is a library for functional programming. The beauty of this approach is having validation rules (is required, is email, is confirmed, etc) specified as a callbacks so they can be reused across different forms and also the absence of…
-
YouTube iframe API
YouTube iframe API lets developers control embedded YouTube video on a website. They can for example stop or pause the player, react on player state changes or add their own event listener. I familiarise with it with a YouTube video that’s in fact compilation of couple of songs and I beside it was an ordered…
-
Feathers.js makes developing RESTful and realtime apps easier
I discovered Feathers.js via Tutorialzine article that popped in my Facebook timeline, which offered 15 interesting JavaScript and CSS libraries for June 2017. Since then I’ve been toying with it for almost a week now and I’m really liking it. It has a lot of documentation to start with but I wouldn’t recommend it to…
-
1 tip for writing more understandable code in JavaScript
I find JavaScript code more understandable if it’s using functions heavily because when written properly ((They are small and do one thing only.)), they typically convey what they do. That does not mean you should start practicing functional programming at once. You can just start by using utility libraries like lodash or underscore more when…