Sandro

Sandro

@sandroroth.com

Software Developer based in Switzerland πŸ‡¨πŸ‡­ πŸ”— sandroroth.com πŸ”— tinytip.co

40 followers31 following42 posts

Eleventy Notes now supports Obsidian's new colored highlight syntax `==πŸ”΅blue==` ➑️ eleventy-notes.sandroroth.com/n/notes/writ...

eleventy-notes.sandroroth.comWriting NotesA simple, lightweight, and flexible note-taking template for Eleventy.
Obsidian@obsidian.md

Obsidian 1.14.0 (early access) is now available to Catalyst members for desktop and mobile. - Kanban views! - New quick capture widget for iOS (demo below) - Support for colored highlight syntax using emoji ==πŸ”΅blue==

> 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 πŸ€¦β€β™‚οΈ

Sandro reposted

Model-based testing with XState helps you test your app more thoroughly without writing every test by hand. You define the model, add test code for states and events, and XState generates the rest. Here, I’m running over 60 tests from just one model. πŸš€ #testing #xstate #statemachine

Using string union types for handling translations not only autocompletes the keys but also provides their default English translations. This helps you understand what to translate and identifies available dynamic values. TypeScript is incredibly powerful! πŸš€ #TypeScript #i18n

React Component Composition with polymorphism is quite tricky. You loose type-safety and it's easy to break a11y. The `as` prop is probably the worst (slow type checking + ambiguous props). `asChild` hurts readability and introduces additional nesting. Is @ariakit.org's `render` approach the best?

You are up to date.