Home
Blog

Auto-including UUIDv7 primary keys and timestamps in Ecto schemas with metaprogramming

This post explores a way to automate the inclusion of UUIDv7 and timestamps in Ecto schemas without having to manually add them to every schema.

July 12, 2025

Typed state management with useReducer

As the complexity of a component's state grows, it becomes more difficult to keep track of the different fields and their types. This post shows how to use TypeScript to type the state management of a React component using useReducer.

June 10, 2023