Jonas has put together a useful overview of why the "new"
Context API in React is probably a better option than Redux for
many simple use cases, as well as step-by-step instructions on how
to set up …
📖
Pass API Data to the Stylesheet with CSS Variables
I keep running into the same problem: how to set a style attribute in the CMS and have that be dynamically rendered on the front-end, without relying on inline styles. Turns out it's a great use case for CSS variables!
Several excellent tips on how to best setup, configure, or use
Eleventy, all with excellent explanations. I particularly liked the
breakdown of the data cascade model …
I guess I'm reading up on React Context a lot today. Kent
provides a useful step-by-step guide in his normal steady manner,
which I found pretty easy to grasp. He also makes a very valid
…
An open-source tool for API testing, with automatic type safety
baked in and a much more advanced output UI that highlights
contained images, code blocks, messaging etc. whilst still
providing the …
Static sites don't make search functionality easy, but luckily there are some excellent services that do. I've been messing around with Algolia and finally have it working with Craft and Gatsby the way I want it... on the backend, at least.
A solid introduction to the Jamstack, including full build
tutorials for an initial SSG setup with Eleventy and Netlify,
integrations with the News API service and Open Weather,
geolocation checks …
It turns out that there are a lot of gotchas to creating a clear category structure for media reviews. Well, after a year of messing around with various setups behind the scenes, I think I'm starting to get somewhere.
I still have my reservations over the whole Edge-Chromium
combination but it has enabled the Edge team to begin taking a
leading stance on certain topics, and it looks like PWAs are one
they're …
Some interesting results from the latest Software House
frontend survey. Surprised to see that over a third of respondents
reckoned CSS-in-JS would be a "fad" and gone in three years;
personally …
I love coming across some of the more niche or esoteric uses of
the web; the internet's marginalia, if you will. I feel like
Jeremy's post very much fits that category, with an excellent
overview of …
A fascinating look at how modern front-end architecture and
practices can help solve some of the communities issues; even the
ones they initially created! Really neat to see how Brad has been
using …
I feel like Max is about two years ahead of me on everything 😁
Here I am thinking about getting Twitter syndication working on
Netlify, and he wrote a perfect tutorial back in 2019. Definitely
…
People joke about Safari being the new IE6 a lot, but I've never
seen as succinct and well-reasoned a take on just how true this is
becoming than what Tim has written. Their argument breaks down into
…
A wonderful overview of how to use keyframe animation in CSS,
including some very useful tips on animation state and creating
meaningful animation APIs using custom properties and CSS math
…
Thanks to the constant barrage of live music over the last week,
I've been frequently pondering my Last.FM API hack. Coco and the
Butterfields seriously highlight the Last.FM problem: since Monday
…
Looking back over what I've previously written about Last.fm is
a little, well, shameful. Since as long ago as July 2015 I've been
noting how the service has a large void: analog music. I love
having …
The concept of "card based" web design has been around for at
least three years now. So why is it that the following quote from
Khoi Vinh, written back in 2014, still appears to be a fundamental
…
I received an Amazon Echo for my birthday. I honestly wasn't
expecting to, so it was a really fun and exciting surprise to
unwrap; although, I have to admit that my initial reaction was
"What am I …
Migrating assets to a new CMS can be a complete pain, but working out which files go with each page or article on a website doesn't have to be a nightmare if you start with a solid foundation. For me, that means tightly coupling my folder structure on the server with my content structure on the website, a workflow that Craft is particularly nifty at automating.
Welcome to the third version of theAdhocracy! It's been a long time coming, but the site has finally been rebuilt, rehosted, and re-just-about-everything else, so I figured I'd actually formalise the launch with a new post explaining what's happened and why.
A look back and a look forward... it must be the start of a new year. 2019 held a lot of change and personal improvement, but I can't help but feel that 2020 is going to be a big one. So what exactly do I have planned and what am I hoping for the next 12 months?
A good look behind Andy's "microblog", a small website that
powers his Twitter feed and link list via a mixture of IFTTT, RSS,
Feedbin, Eleventy, and Netlify. Includes step-by-step guide and
source …
I have a tendency to prefer the kind of "inside-out" control
that Kent is advocating in this piece, though I've never head it
called "inversion of control" before. The idea of giving your users
the …
I mostly use my iPad for watching YouTube. So what do I do now that Google has locked my device out of the YouTube app because it's too old? Why is it possible for a company to effectively remove features from my device that worked yesterday?