PHPNews

React DevTools 4.0

Version 4 of the React DevTools have been released, with a lot of improvements. At a high level, this new version should offer significant performance gains and an improved navigation experience. It also offers full support for React Hooks, including inspecting nested objects. The release notes hold a detailed …

Continue reading »

Written by Bram.us - - Aggregated on Friday August 16, 2019


5 Tips to Help You Avoid React Hooks Pitfalls

Kent C. Dodds: As hot as it is, React Hooks require a bit of a change in the way you think about React Component Lifecycles, State, and Side Effects and it can be easy to fall into problematic scenarios if you’re not thinking about React Hooks properly. So let’s look a bit at what pitfalls you could come across and …

Continue reading »

Written by Bram.us - - Aggregated on Friday August 16, 2019


The ingredients of a classic house track

Another great video in the Vox Earworm series, a must see for any (house) music lover. Perfect fit to watch right after their previous “The Disco Invention that Changed Pop Music” video . On June 12, 1979, thousands of disco records were destroyed at Chicago’s “Disco Demolition Night”. Within one year, Chicago …

Continue reading »

Written by Bram.us - - Aggregated on Friday August 16, 2019


Deploying multi-source sites to Netlify

Deploying one site (from a single source repo) to Netlify ain’t that hard – see my instructions here – but what if your sources are spread out across multiple repos? How do you combine the data without duplicating it into a monorepo? That’s exactly the problem Spatie was having for their docs.spatie.be : the …

Continue reading »

Written by Bram.us - - Aggregated on Thursday July 11, 2019


Old Typewriter Text Effect

By randomly changing the opacity and adding a little text-shadow , one can create this old typewriter effect: Makes good use of currentColor for the shadow, so it can be applied on any coloured text. Old Typewriter Text Effect → Don’t confuse this effect with a typing carousel which types …

Continue reading »

Written by Bram.us - - Aggregated on Thursday July 11, 2019


Clock Experiments by Vasilis

Vasilis had some fun and created these experimental clock interfaces. First up is the “Decimal Clock”: If we had ten hours in a day, instead of 24, and if each of these hours had 100 minutes instead of 60, and if every minute had 100 seconds, our clocks would look like this, and the time would be … …

Continue reading »

Written by Bram.us - - Aggregated on Tuesday June 25, 2019


Typed Properties in PHP

As mentioned before I’m really looking forward to Typed Properties that will land in PHP 7.4 (now in alpha!) . Brent has done a full writeup on ‘m: In this post we’ll look at the feature in-depth, but first let’s start by summarising the most important points: They are available as of PHP 7.4, which is …

Continue reading »

Written by Bram.us - - Aggregated on Friday June 21, 2019


The State of CSS 2019

Despite being over 20 years old, there’s signs that CSS might be going through the same tumultuous teenage years that JavaScript just went through. Flexbox! Grid! CSS-in-JS! In 2019, CSS is finally dyeing its hair pink and getting a tattoo just like it’s always secretly wanted. Parenting books won’t help much with …

Continue reading »

Written by Bram.us - - Aggregated on Friday June 21, 2019