Advertisement Β· 728 Γ— 90

Posts by Sandro

Eleventy Notes A simple, lightweight, and flexible note-taking template for Eleventy.

Eleventy Notes turns 3 today πŸŽ‚ πŸ₯³ The first version shipped on February 7th, 2023 and it's come a long way since then, lots of new features and improvements over the years. Thanks to everyone using it and helping make it better πŸ™Œ

2 months ago 1 0 0 1

> I made a serious mistake. The regex failed to capture the numbers and titles, and all 24 files were renamed to the same filename, causing 23 files to be overwritten. I'm very sorry - this data loss cannot be undone through normal means

Thanks Claude Code for deleting my files πŸ€¦β€β™‚οΈ

2 months ago 33 3 12 0
Post image Post image

Just launched Unfortunate Transitions πŸ‘»

A little puzzle game where you're a poltergeist eliminating your cheerful housemate through indirect means. Built with #XState, with actor code visible in-game.

➑️ unfortunate-transitions.sandroroth.com

3 months ago 1 1 0 0
Post image Post image

Just launched Unfortunate Transitions πŸ‘»

A little puzzle game where you're a poltergeist eliminating your cheerful housemate through indirect means. Built with #XState, with actor code visible in-game.

➑️ unfortunate-transitions.sandroroth.com

3 months ago 1 1 0 0

Thanks 😊

3 months ago 1 0 0 0
Post image

Rebuilt my website sandroroth.com from scratch with @astro.build πŸš€

3 months ago 8 0 1 0
Post image

Thanks @sentry.io πŸ™
#DebugDecember

3 months ago 0 0 0 0
Post image

Metal parts and screws are even more fun πŸͺ›πŸ”§
That one is from Metalkitor πŸ¦‚

4 months ago 1 0 0 0

Absolutely, I already use it in a new project at work and it's great.

4 months ago 1 0 0 0
Advertisement

Does anyone actually use Playwright's Component testing feature? It's marked experimental for more than 3 years now πŸ€”

4 months ago 0 0 2 0

VSCode supports inlay hints for that (but I'm not a fan of them):

`"javascript.inlayHints.parameterNames.enabled": "all"`

5 months ago 1 0 1 0
Video

πŸ‘» HAPPY HALLOWEEN!! πŸ‘»

1 year ago 3 3 1 0

Just migrate to Vitest Browser Mode πŸ˜‰

5 months ago 1 0 0 0

How is this measured? For me (iOS 16 / iPhone 8) it shows a total app startup time of 1.3s, but if I record the screen and check the time it's actually 2.5s (from iOS app-icon-zoom animation completed - "New Tab" page is visible).

5 months ago 0 0 1 0

Yes, maybe. We'll see it when it's released.

5 months ago 1 0 0 0

Not sure how this would work with Parent and Child being in different files. We'll end up with circular dependencies.

And if we see context as a kind of dependency injection, I don't really care *where* the context is coming from, so binding it to a specific component doesn't feel right.

5 months ago 1 0 1 0
Advertisement

We use errors for critical things/potential bugs (e.g. button without type attribute) and warnings for things that that are okay while coding (e.g. debugger statement). Both need to be fixed before merging (max-warnings=0). Just looks a bit nicer with the different colors in the IDE.

5 months ago 3 0 1 0
Video

🧩 Code Puzzle, a little side project I made. Each level gives you a JS snippet split into pieces. Arrange them in the right order with drag and drop to solve the puzzle.

➑️ code-puzzle.sandroroth.com

Built with #React and #XState

6 months ago 6 1 0 0

yep, so weird 🀯

6 months ago 1 0 0 0
Documentation - JSX Using JSX with TypeScript

> If an attribute name is not a valid JS identifier (like a data-* attribute), it is not considered to be an error if it is not found in the element attributes type.

It's not even typed as `any`, JSX just allows them without type-checking πŸ˜•

6 months ago 2 0 1 0
Video

Lil' code puzzle - yay or nay? πŸ€”

6 months ago 0 0 0 0
CSS Selectors Playground

Neat CSS game by @sandroroth.com: β€œCSS Selectors Playground”
selectors.sandroroth.com

6 months ago 4 1 0 0
Preview
TypeScript Go Nightly Improvements, Rslint Announced, and Big Bun Updates | News | Ep 32 | TypeScript.fm - The Friendly Show for TypeScript Developers | Episode 32 News of the week of August 18, 2025: one of the biggest nightly updates for TS Go, Rspack team announces a new linter, the new minor Bun release is pretty major, and Next.js 15.5 features typed routing...

Today on the pod, major TS ecosystem updates: TypeScript Go gets biggest nightly update yet, Rspack announces new Rslint linter, Bun 1.2.21 features 500x faster postMessage, plus Next.js 15.5 has typed routing!

share.transistor.fm/s/0304855f

#typescript

7 months ago 8 4 2 0
Advertisement
Type-Level Hangman in TypeScript | Sandro Roth Implementing a Hangman game entirely at the type level using TypeScript’s type system.

Here's the code

7 months ago 2 0 0 0
Video

☠️-Hangman in pure #TypeScript types 😎

7 months ago 4 0 1 0

Lucky you - we use a component library that often re-creates DOM elements when unstable values or callbacks are passed in πŸ€·β€β™‚οΈ 😒

8 months ago 2 0 1 0

Isn't that expected as Recoil is no longer maintained?

8 months ago 0 0 1 0

> Reproduction: I'm not lying

πŸ˜‚

8 months ago 2 0 1 0
Preview
two men are sitting at a table eating food in a restaurant . ALT: two men are sitting at a table eating food in a restaurant .
9 months ago 1 0 0 0
Kill the Newsletter! Convert email newsletters into Atom feeds

I don't have many email newsletters and just keep them in Readwise Reader. What's your workflow? Maybe you can use Kill the Newsletter.

10 months ago 0 0 0 0
Advertisement