PHPNews

Sticky Events – Events for position: sticky;

Sticky Events is a library that can listen for events on elements that have position: sticky; applied. It’s an abstraction built on top of the IntersectionObserver , and provides one with three types of events: StickyEvent.CHANGE : Fired when an element becomes stuck or unstuck StickyEvent.STUCK : …

Continue reading »

Written by Bram.us - - Aggregated on Friday June 15, 2018


Responsive UIs in React Native

On the web it is – by now – obvious that you make your website responsive (*). Using a listener listening to the change event of the Dimensions API, it’s also possible to implement this kind of behaviour in React Native. import {Component} from "react"; import {Dimensions} from "react-native"; export default …

Continue reading »

Written by Bram.us - - Aggregated on Friday June 15, 2018


Dynamic Bézier Curves

Nice writeup by Josh Comeau on how he created the on-scroll-animated bézier curve on his website Did you notice that as you started scrolling on this page, the Bézier curves that border the green title hero thingy started flattening? Keep your eye on the swoopy curves just above the post text as you scroll through …

Continue reading »

Written by Bram.us - - Aggregated on Friday June 15, 2018


Resilient, Declarative, Contextual

I enjoyed reading this piece by Keith J. Grant on three key characteristics of CSS that set it apart from conventional programming languages. I want to look at three key characteristics of CSS that set it apart from conventional programming languages: it’s resilient; it’s declarative; and it’s contextual. Understan…

Continue reading »

Written by Bram.us - - Aggregated on Thursday June 14, 2018


A JavaScript Typing Carousel

I like this JS typewriter effect: The HTML that goes along with that is really simple: <h1>This pen is <span class="txt-rotate" data-period="2000" data-rotate='[ "nerdy.", "simple.", "pure JS.", "pretty.", "fun!" ]'></span> </h1> Simple Typing Carousel →

Continue reading »

Written by Bram.us - - Aggregated on Thursday June 14, 2018


Harry Roberts: FaCSSt – CSS and Performance

A Frontend United I was lucky to see Harry Roberts give this talk on CSS and Performance. You can watch it to, as the recording has been published to YouTube Ahh… CSS and performance. Two of my favourite things! But how well do they play together? It depends… In this very matter-of-fact talk, we’ll be looking at …

Continue reading »

Written by Bram.us - - Aggregated on Thursday June 14, 2018


Implementing Web Push Notifications

Alexander Zlatkov from SessionStack on how to implement Web Push Notifications: There are three general steps to implementing a push: The UI  — adding the necessary client-side logic to subscribe a user to a push. This is the JavaScript logic that your web app UI needs in order to enable the user to register …

Continue reading »

Written by Bram.us - - Aggregated on Thursday June 14, 2018


Tips for improving performance of React Native apps

Whilst researching a performance issue in a React Native app by doing a deep dive into the bridge , I stumbled upon this nice list of tips by jamsch . The list – which touches react-navigation , the types of lists one can use, etc. – was originally posted as a comment on a Github Issue , but deserves way more …

Continue reading »

Written by Bram.us - - Aggregated on Thursday June 14, 2018


RE: The React is “just” JavaScript Myth

This was originally posted as a reply over at Dave’s blog. Unfortunately Disqus – the commenting system Dave uses – thinks it’s spam, so I’m posting it here as a full post instead. In his blogpost The React is “just” JavaScript Myth , Dave Rupert said this: React shows up on the scene with Babel, Webpack, and …

Continue reading »

Written by Bram.us - - Aggregated on Tuesday June 5, 2018


CSS Perspective Text Hover

Nice 3D text effect: To make the hover effect work, each line also contains the contents of the next line. When hovering the original content slides out of view and the contents of the next line slides in, thus tricking the mind CSS Perspective Text Hover →

Continue reading »

Written by Bram.us - - Aggregated on Sunday June 3, 2018


DNS over HTTPS (DoH), a cartoon intro

I like the cartoons that have been appearing for some time now over at Mozilla Hacks, in which they explain technical things in layman’s terms. The latest article again is a good one: first it explains regular DNS (pictured above) , and then continues on to DNS over HTTPS. A cartoon intro to DNS over HTTPS →

Continue reading »

Written by Bram.us - - Aggregated on Sunday June 3, 2018


Awesome Talks

Great site developed by Sara Vieira ( @NikkitaFTW ): Awesome Talks is an awesome list of tech talks to watch that is constantly updated by the community and is a great way to find an interesting talk to watch during downtime. The talks are categorised, and one can submit talks themselves (if they’re on YouTube …

Continue reading »

Written by Bram.us - - Aggregated on Sunday June 3, 2018


React Native Parallax Scroll Header with Tabs

Nice writeup on how to create a typical screen where there’s a header image that fades out and disappears as you start scrolling. Essentially, everything but the header is put into a scrollview. In order to keep elements ‘fixed’ (i.e. the tab bar), I use the transform property with a translateY that is set to the …

Continue reading »

Written by Bram.us - - Aggregated on Friday June 1, 2018