Just merged the first external PR on strapi-identity. I built it to handle MFA in @strapijs.bsky.social. It鈥檚 always rewarding when a tool you write to solve your own problem turns out to be useful for someone else. If you鈥檙e using Strapi, take a look: github.com/Link2Twenty/... #opensource #strapi
Andrew Bone
Andrew Bone
@link2twenty.bsky.social
馃寪 Web Developer 馃崝 Burger muncher 馃幃 Mass Effect fan
83 followers76 following91 posts
Looking past the AGI marketing copy, engineering infrastructure matures in predictable ways. The biggest changes won鈥檛 just come from smarter models, but from better integration, cheaper inference, standardised protocols and AI becoming another layer of ordinary software. dev.to/link2twenty/...
Did you know singletons can be used alongside Micro-Frontends (MFEs) in order to allow information and state to be passed around even if you're using different frameworks? dev.to/link2twenty/...
Another day another demo. I've been continuing my defence of the singleton pattern this time by showing how it can be used to allow communication between several micro frontends (though single-spa). Demo: link2twenty.github.io/multi-framew... Source: github.com/link2twenty/...
The post this was for is now out, it's a little controversial. dev.to/link2twenty/...
Working on a demo for my next post. The post isn't actually about toasts but I needed to build a basic toast system for it. codesandbox.io/p/sandbox/to...
React singletons get a bad rap, but most of that "messiness" was just a lack of a clean connection to the render cycle. But it turns out that when you use the platform instead of fighting it, the singleton isn't the villain of the story. dev.to/link2twenty/...
Working on a demo for my next post. The post isn't actually about toasts but I needed to build a basic toast system for it. codesandbox.io/p/sandbox/to...
The native EventTarget is a hidden gem, but its TypeScript support is a bit of a "black box". I鈥檝e put together a small wrapper to get a 100% type-safe event bus with zero runtime overhead. dev.to/link2twenty/...
Andrew Bone reposted
I'm often asked why you would use a JS library like React Aria for modals instead of the HTML <dialog> element, so I wrote up a detailed response. One of the main features of <dialog> (top layer) is also one of its weaknesses. github.com/adobe/react-...
There are a few things conventional wisdom has taught us to do when making an Express microservice but let's break the rules and see where we end up. dev.to/link2twenty/... #javascript #nodejs #devcommunity
@jakearchibald.com Hi, do you think firefox will reconsider their decision about supporting beforeinstallprompt? I'd love to see this in the spec (and I'm sure other PWA advocates would too) but with Apple and Mozilla saying no I guess it won't go anywhere.
Sharing my Go learning in public! Just covered container types: arrays, slices, and maps with practical examples. Check it out! dev.to/link2twenty/... #DevCommunity #GoLang
Loops, conditionals, and a lightweight Docker setup. This time, I鈥檓 covering Go鈥檚 for loops, if statements, and switch blocks, plus a minimal multi-stage build for running Go in Docker. #GoLang #Coding #DEVCommunity dev.to/link2twenty/...
Just started learning Go! 馃殌 Follow along as I dive into the basics, from installation to variables. #golang #learngo dev.to/link2twenty/...
With Chrome 134 we can finally style the native select element. I'm building a demo for an up coming blog post and thought I'd recreate the @shadcn.com select with only CSS. ui.shadcn.com/docs/compone... developer.chrome.com/blog/rfc-cus... codepen.io/Link2Twenty/... #webdev #css
I've now written the post this demo was for
For years the select element has been notoriously difficult to style. Developers had to either accept the browser鈥檚 default look or resort to JavaScript-heavy solutions. That is until now... Let's look at how to style selects and make a shadcn style select while we're at it. dev.to/link2twenty/...
For years the select element has been notoriously difficult to style. Developers had to either accept the browser鈥檚 default look or resort to JavaScript-heavy solutions. That is until now... Let's look at how to style selects and make a shadcn style select while we're at it. dev.to/link2twenty/...
Managing the top layer is difficult and by extension this makes Dialogs and Popovers difficult. In this post I vent a little frustration and try to work out a viable solution. Any and all ideas and feedback are welcome. dev.to/link2twenty/... #webdev #react #javascript
@bram.us I'd be interested in hearing your thoughts on this, if you have the time 馃槉
Six years ago I wrote a post about how you could use <details> and <summary> as a JS free accordion with html and css. Let's see what's changed since then. #DEVCommunity #accessability #a11y dev.to/link2twenty/...
You are up to date.