Category: Web development

  • YouTube iframe API

    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…

  • How to reduce amount of dispatched actions in Redux

    When I was beginner in using Redux to manage state in JavaScript while using React, I often dispatched unnecessary amount of actions when I could be done with just one or two. Or when I was loading initial data when user visits website, I often dispatched an action that set only specific resource. Something like…

  • Handlebars and template inheritance

    Handlebars aren’t good fit if you want to have template system that has a template inheritance feature built-in. Sure, you could use workarounds like this one but you need to be careful about how you specify all different parts of markup. For example in this one I’ve linked you need to define all blocks before…

  • 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…