Tag: API

  • New React Context API

    I like new react API for creating and using context. It feels right. One thing I immediately tried to do was creating a helper which simplifies consuming multiple contexts. Because they create context hell. When you component uses more than one context and because of a children as a function pattern (which is basically the…

  • Like/dislike content or remove vote

    I’m building an app around YouTube iframe api (which I wrote about already), where user can like/dislike content (a type of video which is a compilation of songs that can be targeted by time) or removing vote if clicking on the same vote type again. For example if user clicks on like button for the…

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

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

  • WordPress Settings API demystified

    UPDATE I’ve made a wrapper which simplifies working with Settings API where you don’t have to deal with parameters that aren’t used outside of Settings API and are used just to connect sections and fields. You can find it among my gists on github here. Check included example and see how easy it is to…