PHPNews

Application State Management with React

Kent C. Dodds on how he uses React itself – and not something like Redux – for his Application State Management. Here’s the real kicker, if you’re building an application with React, you already have a state management library installed in your application. You don’t even need to npm install (or yarn add ) …

Continue reading »

Written by Bram.us - - Aggregated on Thursday May 23, 2019


CSS Color Scheme Queries (“Dark Mode CSS”)

Next to Safari 12.1 earlier this month, Firefox 67 now also supports “CSS Color Scheme Queries”. The prefers-color-scheme media feature allows sites to adapt their styles to match a user’s preference for dark or light color schemes, a choice that’s begun to appear in operating systems like Windows, macOS and …

Continue reading »

Written by Bram.us - - Aggregated on Thursday May 23, 2019


Game of Thrones: An Ending

George R.R. Martin, on his blog “Not a Blog” , now that the final episode of Game of Thrones has aired: I’m writing. Winter is coming, I told you, long ago… and so it is. THE WINDS OF WINTER is very late, I know, I know, but it will be done. I won’t say when, I’ve tried that before, only to burn you all and jinx …

Continue reading »

Written by Bram.us - - Aggregated on Tuesday May 21, 2019


Microsoft Edge preview builds for macOS

Speaking of IE in the previous post : Microsoft just (officially) released the first preview builds for Microsoft Edge for macOS, which uses the Chromium rendering engine internally. Although I don’t use my Mac’s Touch Bar – I’ve got set it to always show the full control strip – I really like how they’ve …

Continue reading »

Written by Bram.us - - Aggregated on Tuesday May 21, 2019


Direction Aware Hover Effect

A thing I commonly see nowadays are animated lines underneath menus and links: Show Pen One issue with that though: when hovering over an item the animation does not start from the place where you hover, but from a fixed point (here: bottom-center) . Try hovering an item from one of its edges and you’ll …

Continue reading »

Written by Bram.us - - Aggregated on Thursday April 25, 2019


Fading out siblings on hover in CSS

Nice one by Trys Mudford: Hover states traditionally run on the element being hovered on (makes sense, right?). But we can also listen for the hover event on the parent element. That’s the crux of this ‘trick’, we fade out all children when the parent is hovered, and attach another hover handler the child, …

Continue reading »

Written by Bram.us - - Aggregated on Thursday April 25, 2019


AV1, the video codec of the future

Next to praising the AV1 Codec and providing conversion examples (using ffmpeg ) , Andrey Sitnik also gives a good overview on containers and codecs – concepts every web developer who embed video should know imho – in his post on the subject: File extensions for video ( .mp4 , .wmv , .webm or .mov ) barely …

Continue reading »

Written by Bram.us - - Aggregated on Friday April 12, 2019


Automatic GitHub Changelog Generator

If your code/project always uses Pull Requests to add/fix stuff in your code (e.g. no direct commits on master ), then Changelog Generator will come in handy. It’s a CLI tool (written in PHP) that automatically fetches all closed PRs and Issues between the targetted and the previously tagged release. Installation …

Continue reading »

Written by Bram.us - - Aggregated on Friday April 12, 2019