PHPnews.io

Overview for 'sebastiandedeyne'

Complexity has to live somewhere

Written by Sebastian De Deyne / Original link on May. 18, 2020

By Fred Hebert:if you make the build tool simple, it won't handle all the weird edge cases that exist out thereif you want to handle the weird edge cases, you need to deviate from whatever norm you wanted to establishif you want ease of use for common defaults, the rules for common defaults must be …


Refactoring callbacks to async/await

Written by Sebastian De Deyne / Original link on May. 8, 2020

Web browsers have a few functions that accept callback parameters. setTimeout and requestAnimationFrame are the first that come to mind.If you need to do multiple calls to these functions in a row, you quickly end up in callback hell. Here's a quick tip to flatten your code with async/await.This is …


Enter & leave transitions

Written by Sebastian De Deyne / Original link on May. 4, 2020

Now that we've built a dropdown list, lets add some transitions to create open & close animations.Broadly speaking, there are two ways to implement enter & leave transitions:Just use the transition CSS propertiesAnimations with JavaScript (either by modifying CSS properties, with the web an…