Fresh Reads
Source desk · Blog
Sandro Maglione
283 entries in the archiveNewest: Oct 7, 2026Official site
- TypeScript
Create a blog with Effect, NextJs and MDX
Learn how to create your personal blog using Effect, NextJs, and MDX. Store local mdx articles, collect them using Effect, and create the article page in react using NextJs.
Under-engineering: less dependencies, more features and performance
It is possible to remove dependencies while also adding features and improving performance: I call this under-engineering. This is how I improved my blog, implemented and published a new open source package.
Flutter State Management: Riverpod, Bloc, Signals, GetX
State management in flutter using riverpod, bloc, signals, getX: how to install them, how to define the state, how to use them in your flutter app, and their pros and cons.
What State Management is all about (in practice)
Learn how state management works and what problem it solves: store some state, read the state, update the state, and rerender the user interface after each change.
How to implement a data structure in Typescript
Learn how to implement a data structure with typescript: performance, stack safety, immutability, how to make it iterable, inspectable, how to add equality and refinement.
Contribute to Open Source: complete process step by step
How to make your first contribution to an open source project step by step: research about the topic, fork the repository, read code, complete the implementation, and send a PR.
Complete introduction to using Effect in Typescript
Complete introduction to using Effect in Typescript: why using Effect, what is the Effect type, how to use it, and what are the main modules of Effect.
How I learn a new library (when documentation is not enough)
How to learn a new library when the official documentation is not enough: use the API reference, explore and search the open source repository, read tests, ask for help from the community.
How to implement State Machines and Statecharts in dart and Flutter
Implement State Machines and Statecharts in dart and flutter: how to model a state machine, how to use generics to make the machine type-safe, and how to extend the state machine to make it a statechart.
How to create a State Management library
This is how I created a state management library in dart and flutter. Learn how to implement state machines and statecharts in dart, how streaming works in flutter, and how state management works in practice.
Getting started with XState and Effect - Audio Player
Learn how to use XState and Effect to implement an audio player in react: stately visual editor to define the state machine, actions implemented using Effect, and use the machine in a react component.
State management with XState State Machines and Effect
Learn what is a state machine, how a state machine can be used to model any application, and how to use XState with Effect to implement a complete Typescript project with full type-safety.
Making Games with Flutter - Getting started using flame
Create games in Flutter. Learn how to develop games in Flutter using the flame package: how to setup flame, how it works, and how to create your first game.
What I learned making a game in 2 days
I share my experience making a game in Flutter in 2 days for the Flame Game Jam 3.0: how to create a game from zero by yourself for a game jam with limited time and resources.
Getting started with OCaml and Functional Programming
Get started writing functional programming code using the OCaml programming language: install OCaml, create a new project using dune, learn how to write functional programming code.
Learn Functional Programming with OCaml
Learn how to write functional programming code with the OCaml programming language: how to install OCaml, how it works, and what makes OCaml great to learn functional programming.
How to implement a Dart CLI using fpdart
Learn how to implement a CLI application in dart: what a CLI app is, how to create a CLI using the dart programming language, how to organize and implement a CLI using fpdart.
CLI application with Functional Programming using fpdart
Command-Line Interface (CLI) written in dart using the fpdart package with Functional Programming. Subscribe to the newsletter of sandromaglione.com for more.
How to test a Typescript app using vitest and msw
Learn how to use vitest and msw (Mock Service Worker) to test a typescript app: intercept HTTP request, mock response, define and organize all tests.
How to implement a Custom Newsletter form with ConvertKit and Effect
Learn how to use Effect and Typescript to perform a request to subscribe a user to your newsletter on ConvertKit
Effect + NextJs + ConvertKit: the future of Typescript
Application written using Effect, Typescript, and NextJs to subscribe users to your newsletter on ConvertKit. Subscribe to the newsletter of sandromaglione.com for more.
Timeless programming: learn not a language, learn the principles
Writing to refine your ideas and better communicate with other people, Coding to transform your ideas in concrete products that a machine understands and executes for you.
2 skills for the 100 years - Writing and coding
Writing to refine your ideas and better communicate with other people, Coding to transform your ideas in concrete products that a machine understands and executes for you.
Covariant, Contravariant, and Invariant in Typescript
Learn how variance works in Typescript with concrete example: Covariant, Contravariant, Invariant, and Bivariant. Learn also how variance is related to composition and assignability.