Leander G
leandergilles.com
Leander G
@leandergilles.com
Web performance consultant located in Frankfurt a.M. Germany | Interested in Astro, Svelte and Cloudflare
I told it to port a React component to Astro and it starts defining Tailwind classes in my Astro component.
Then it starts creating tons of new components that I never asked to be ported. Then it's way too agreeable and doesn't ask clarifying questions. Going back to writing everything by hand...
September 19, 2025 at 1:20 PM
I hate it with the power of a thousand suns.
Search engines only show me translated Reddit posts.
Automatically translated YouTube titles make no sense a lot of times.
July 2, 2025 at 10:14 AM
I have a guess why: The click is triggering a React rerender of most of the page.
June 7, 2025 at 7:27 PM
🎉
June 2, 2025 at 7:31 PM
The ones from here: storybook.js.org/docs/writing...

canvas.getByTestId for instance.

I found a utility function that helps here: github.com/storybookjs/...
Component tests | Storybook docs
Storybook is a frontend workshop for building UI components and pages in isolation. Thousands of teams use it for UI development, testing, and documentation. It's open source and free.
storybook.js.org
April 29, 2025 at 12:22 PM
Here is an example implementation: lit.dev/playground/#...
Playground – Lit
Simple. Fast. Web Components.
lit.dev
March 12, 2025 at 1:03 PM
I thought of compatibility dates because I was reading about how Cloudflare use them. Of course, you could just as well use an incrementing integer. developers.cloudflare.com/workers/conf...
Compatibility dates · Cloudflare Workers docs
Opt into a specific version of the Workers runtime for your Workers project.
developers.cloudflare.com
March 12, 2025 at 1:02 PM
Alternatively, we could have a single version globally and opt into breaking changes by having a version attribute.
e.g. <my-element version="4"> or <my-element compatibility-date="2025-03-12">
March 12, 2025 at 1:01 PM
They solved this by bundling the web component library for each micro frontend and have the version in the name. So <my-element> becomes <my-element-2-0-0>. This way they can have multiple versions on the same page. Ofc this means a lot more JS.
March 12, 2025 at 1:01 PM
This was more of a shower thought. I have a customer that uses web components and they have multiple micro frontends on the same page. These micro frontends all use the same web components. Coordinating breaking changes across multiple micro frontends and teams is challenging.
March 12, 2025 at 1:01 PM
I thought that was a very hairy person for a second.
March 1, 2025 at 6:54 PM
Can't wait to try Rückenwind 4!
February 18, 2025 at 8:46 PM
Million
Speed up your website by 70%
million.dev
January 27, 2025 at 5:02 PM