« * K @sandromaglione.bsky.social

Sandro Maglione @sandromaglione.bsky.social

The Coding Explorer 💻・Sharing patterns to build type-safe web & mobile apps・Typescript・Effect・React・XState Helping devs at http://typeonce.dev 🚀

172 followers, 53 following, 63 posts

1 Read the full details and examples in the article 👇 www.typeonce.dev/article/p…
@sandromaglione.bsky.social
2 👉 className instead of variants Extract variants as `utility` and compose styl…
@sandromaglione.bsky.social
3 👉 HTML custom data attributes Define states as `data-` attributes, and then re…
@sandromaglione.bsky.social
4 👉 Inline CSS variables Define dynamic values as local/inline CSS variables, an…
@sandromaglione.bsky.social
5 Using @tailwindcss.com for styling? Here are some not-obvious strategies to mak…
@sandromaglione.bsky.social
6 Last release of the year in the newsletter, with a look back at everything that…
@sandromaglione.bsky.social
7 ✨ TypeScript tip ✨ A function that returns Tagged Classes 👉 Type a class with …
@sandromaglione.bsky.social
8 My writing 101 tips in this week newsletter I have been writing on the web for …
@sandromaglione.bsky.social
9 The example that made me get CSS subgrid ✨ A superpower that can be used for ma…
@sandromaglione.bsky.social
# MoreBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup