Fresh Reads
Source desk · Blog
Sandro Maglione
283 entries in the archiveNewest: Oct 7, 2026Official site
- TypeScript
isNotNullable - Check if a variable is not nullable in Typescript
Function used to check if a variable is not nullable and narrow its type using Typescript.
Why Open Source libraries are missing documentation
Open Source is fun and rewarding, but if you want your work to bring any value you need documentation. Why many library are missing it?
How to add a Dynamic Sitemap to your NextJs Blog
Create a dynamic sitemap with all your posts using NextJs and contentlayer, and learn how to submit it to Search Engines.
How to create a Blog with Contentlayer and NextJs
Create a fully customizable blog using the power of nextjs, contentlayer, and mdx.
How to use TaskEither in fpdart
TaskEither is the most used type in Functional Programming with fpdart. Do you know what TaskEither is in Functional Programming? In this post we are going to learn how to use TaskEither in fpdart.
How to map an Either to a Future in fpdart
Learn the difference between sync and async in Functional Programming, and how to work with asynchronous functions. What is the difference between Either and TaskEither? Option and TaskOption? IO and Task?
Form data validation hook with fp-ts and functional programming
React hook used to store, update, and validate data using functional programming with fp-ts.
Pure function to shuffle an array in Typescript using fp-ts
A pure function that allows you to shuffle an array using functional programming with fp-ts in Typescript.
Pure function to update elements in array that are equal in Typescript
A pure function that allows to update all the elements in an array that are equal to a given equality check.
useDebounceUpdate - Running an effect after a timeout
Execute a function after a timeout every time your data changes. Reset the timer if the data changes again during the timeout.
useCounterSelection - Increment and Decrement number with fp-ts
Abstraction for storing a number value that can be incremented and decremented by a given amount of steps.
Collecting payments using Stripe Elements – Subscription with Supabase and Stripe Billing | Part 3
Collection payments using Stripe Elements. We learn how to use Stripe Elements to collect the card information for Stripe Billing.
Create a NextJs project with Typescript, ESLint, Prettier and TailwindCSS
Learn how to create a NextJs project with Typescript, ESLint, Prettier and TailwindCSS. Using NextJs and Typescript for your next project.
Loops using fold – Practical Functional Programming | Part 4
Loops using fold in Functional Programming. Learn why you do not need loops, and how to use the fold function in Functional Programming.
Immutability – Practical Functional Programming | Part 3
Immutability in Functional Programming. Learn what Immutability is, why Immutability is important, and how to write Immutable code.
Pure Functions - Practical Functional Programming | Part 2
Learn Pure functions in Functional Programming. Why using Pure functions, what a pure function is, and how to write code using pure functions.
Static Metaprogramming in Dart and Flutter: macro_prototype overview
Static Metaprogramming in dart and flutter is coming. Learn about the macro prototype and how to use metaprogramming in dart and flutter.
Redux with Typescript for State Management
Lear how to use Redux for state management using Typescript. Redux and Typescript in your react application for state management.
Practical Functional Programming - Find repeated characters | Part 1
Practical Functional Programming, uncover the principles of Functional Programming in Haskell, Typescript, and Dart. Part 1 of the series. This post has been published in my newsletter.
Unlimited resources, limited attention
It is not what we fear that will ruin us, but what we desire. You attention is limited, and the web is playing against you. What will you do?
Chain functions using Option type - Functional Programming
Learn how to chain functions using the Functional Programming type Option. Use alt, andThen, flatMap, and getOrElse methods in simple example.
Functional Programming Option type - Introduction
Learn Functional Programming Option (Maybe) type. Tutorial about the Option type, how to use it with examples in Functional Programming.
Pure Functional app in Flutter - Pokemon app using fpdart and Functional Programming
Pure functional app in Flutter using fpdart and Functional Programming. Explore a Pokemon app using Functional Programming and Flutter.
5 Lessons from Functional Programming in Scala, By Paul Chiusano and Runar Bjarnason
5 key lessons from Functional Programming in Scala. Learn the core principles of Functional Programming and learn Functional coding.