Fresh Reads
Source desk · Blog
Sandro Maglione
283 entries in the archiveNewest: Oct 7, 2026Official site
- TypeScript
Waiting for a breakthrough: Client, server, and local-first
A big wave of new standards and frameworks is coming, both client and server. But right now we are stuck in the middle. This is how things will change.
Going about learning something
Discover the hidden dangers of excessive research. Why practice-first is the key to effective learning and how mindless exploration can fuel your intuition.
Meta skills of a professional software developer
What meta-skills do I cultivate as a software developer? Communication, writing, learning independence, creative exploration. This is how I think about them.
The State of Local-First
Everything that you should know right now about local-first. It's a new model, with new challenges and not universal solutions yet. This is how to get started today.
Come to life
Imagine ordinary objects have come to life. How would your life be different? What would your new friends say about you? Let's play it from the start, the start of a new day.
Extend and advance
The life of a king in the enjoyment of everyday life. No pressure, no judgment, only a straight path. The path of a warrior. Strive, reflect, accrue wisdom. Repeat.
Pawn Raising
A warrior's strength is based on the rules of chess. A Queen can wipe out an entire army, a bishop can kill a legion, rooks, a battalion. While a pawn is lucky if he can kill 14 men. You are a mere pawn, what do you think you can do?
Everything is a state management problem
Programming is about managing data. Where the data is stored, how to read it, how to update it, these are all key questions that shape how you develop software.
useState, useReducer and State machines for state management
Implement a form using useState, useReducer, and state machines with XState. Understand the differences and tradeoffs of state machines for state management.
State machines will save you from useState
useState is easy to use and learn. But it's definitely not ideal for complex state management. This is how state machines and XState will save your project.
Error handling is key: here is how to do it (well)
Errors are a key component of any program. Let's explore multiple strategies for error handling, from throw/catch to the Either type and Monads.
The story of why I made an Effect course (out now!)
At the beginning it was all fp-ts. Then fp-ts 3.0 was no more and the community became all effect. Soon effect will be everywhere, the course is here to help.
State management that scales with state machines
State starts simple, but it will grow complex eventually. useState doesn't fit well with this increase in complexity, but state machines do. Let's see how.
The origin of bad code, and how to fix it
Why bad code exists? What makes code 'bad'? Moving from junior to senior dev is about understanding bad code, learning how to overcome it, and never look back.
How (and why) I became obsessed with type safety
You can make your applications unbreakable using types. This is how I went from PHP and dynamic languages to learning types and functional programming.
How I built a new platform with all the latest libraries
Typeonce is my new website where I share free courses, workshops, and snippets. Built with React 19, NextJs 15, Tailwindcss v4, and powered by Effect.
What I learned about writing technical articles on the web
I have been writing online for more than 5 years now. Here is some things that I learned over the years if you are interested in doing the same.
How to achieve type safety from client to server
Type safety gives you more confidence that your software works. You can achieve full type safety on the server, client, and now also between client and server.
State management in React is a solved problem
XState with state machines and actors provides all the features for a complete state management solution. XState store replaces useReducer for simple usecases.
NextJs Authentication with Effect and React 19
Implement authentication in nextjs using Effect: dependency injection, configuration variables, cookies service, middleware, everything composable and testable.
My experience at the biggest React conference worldwide
I attended JSNation and React Summit in Amsterdam as the official representative of the Effect Community: here is what happened and what that you should know.
Building blocks of any Frontend app
All you need to build a frontend app: Effect with platform and schema, XState for state management, TailwindCSS, and shadcn/ui using Radix UI and React Aria
What is Local-First?
All you need to know about local-first software: what are the advantages of local-first, how does it work in practice, what libraries are available today.
Server components: Closing the gap between frontend and backend
React 19 is coming with server components. Server components change the way frontend is implemented, closing the gap between frontend and backend developers.