Anoesj
Anoesj
@anoesj.dev
Vue, Nuxt, CSS & TypeScript maestro, usually over-caffeinated, cat lover, leftfield electronic enthusiast, something something
66 followers115 following246 posts
Anoesj reposted
The Incredible Overcomplexity of the Shadcn Radio Button 👉 paulmakeswebsites.com/writing/shad... #react #webdev
@carbonequity.bsky.social On mobile/touch devices, your slider with the "Create your account" form is non-interactive. Tapping on anything in the slider does not work. Just letting you know :)
@bsky.app Please, please, just get rid of the "scroll to top" button. It's exactly where my left thumb is at when trying to scroll. Just make the home tab button inherit its behavior, just like on every other app. At least make a setting?
Anoesj reposted
As an experiment, we (the Firefox team) wanted to try a new way to get feedback on which Interop proposals matter most. So, here's a web app where you can rank the proposals you care about, giving us data we can use when reviewing which ones to champion. interop-rank.jakearchibald.com
@typescriptlang.org I would love it you could do “T not satisfies string” and “T not extends string” in TypeScript 😇
Anoesj reposted
I can't stress enough how important it is to make an example here. Take all the money from these companies. Find alternatives. Vote with your pockets because fundamentally money and power is everything to these insufferable pricks.
There’s never been a better time to switch from Next.js to Astro nitter.net/rauchg/statu...
Anoesj reposted
There’s never been a better time to switch from Next.js to Astro nitter.net/rauchg/statu...
@joshwcomeau.com I just want to say, finding your website made my day, maybe even week 😍. Such a good reminder that the web can be FUN!
@kevinpowell.co Hi Kevin! Do you know a way to use transform-origin with anchor positioning? I have anchor positioned custom selects that appear with a slight zoom animation, but I'd like them to transition from the anchor instead of from the center. Example: www.gb.nl/en/products/...
Remembered @antfu.me’s blog post about pnpm’s catalogs feature and it helped me out greatly today! In a monorepo with multiple packages using typescript, I use "typescript": "catalog:ts" now, so all versions are always identical! Read for yourself: antfu.me/posts/catego...
Curious to hear your thoughts on my (alternative) proposal for navigator.export.saveAsPdf, a method for exporting a page or subsection of a page to PDF: github.com/whatwg/html/... Let me know what you think! 🦥
Curious to hear your thoughts on my (alternative) proposal for navigator.export.saveAsPdf, a method for exporting a page or subsection of a page to PDF: github.com/whatwg/html/... Let me know what you think! 🦥
Anoesj reposted
Oh 😄? Oh... 😦
Everyday I wish there was a PHP "match" equivalent for JS, preferably with superpowers, like: const foo = match(props.project.user.age) { < 21 => '⚽', 21, 22, 23 => '🥳', > 23 && < 30 => '📚', >= 30 && < 66 => '👨👩👧' default => '🫖' }
Pretty cool to find out @rolldown.rs already simplifies calculations during bundling. Like when you run "export const foo = 0.1 + 0.2;" it simplifies that compile-time, which saves some time doing runtime calculations. Rollup doesn't do that (tested in REPL) 😄
Me thinking: why is it mutable ("able to mute") instead of mutatable? Finds: ell.stackexchange.com/questions/61...
@vite.dev Tried rolldown-vite on a large Nuxt project, but builds now take 70s instead of 20s? Confused 😕. I feel like lightningcss is the culprit. I get a lot of warnings regarding "@position-try" usage and maybe that's causing the extra build time?
Marked types 🎯 are awesome! Lots of folks know about branded types already, but what if we change the mechanism a bit to loosen it up a little. No idea if somebody has already named this pattern before, but I like the term “marked types”, which is kind of like “soft branding”. Examples in replies...
Marked types 🎯 are awesome! Lots of folks know about branded types already, but what if we change the mechanism a bit to loosen it up a little. No idea if somebody has already named this pattern before, but I like the term “marked types”, which is kind of like “soft branding”. Examples in replies...
Anoesj reposted
In case you’re not using Nuxt already. youtu.be/sMYOigI5NjM?...
@mattpocock.com Do you know why TypeScript does not understand the relation between the sibling objects and narrow down the type properly? Why does it not use the same logic as Extract under the hood? What am I missing and is there a way to fix this shortcoming without writing a ton of typeguards?