Fabian Hiller - Valibot, Standard Schema, Formish

Quick Overview

Fabian Hiller and Ryan Conrado discussed the development and philosophy behind Standard Schema, a schema library designed to be highly flexible and easy to use, contrasting it with other libraries like Zod and addressing the challenges of its initial open-source adoption and its eventual success, which they attribute to its modular design and strong TypeScript integration.

Key Points: Fabian Hiller and Ryan Conrado are the co-creators of Valibot and Standard Schema, respectively. Standard Schema was developed to provide a highly flexible and simple way to define data schemas, aiming for better performance and developer experience than existing libraries. The initial design goal was to avoid the complexity of LLMs in the schema validation process, favoring a more explicit, developer-driven approach. The library is designed to be highly composable, allowing users to combine basic types and transformations easily. A key feature discussed is the ability to provide rich, native TypeScript support, leading to better tooling integration. Valibot, which Fabian Hiller is also a creator of, influenced the development of Standard Schema, particularly in aiming for simplicity and performance. The creators aimed for a simple, intuitive API that avoids complex, hidden behavior often associated with larger AI-driven tools.

Context: The video features an interview on the DevTools FM podcast between co-hosts Andrew Lisowski and Justin Bennett, and their guest, Fabian Hiller. Fabian Hiller is introduced as the creator of Valibot and Standard Schema. The discussion centers on the motivation, design philosophy, and evolution of Standard Schema, particularly how it addresses common pain points in data validation and schema definition within the TypeScript ecosystem.

Detailed Analysis

The discussion revolves around the creation and philosophy of Standard Schema, a schema library co-created by Fabian Hiller (also known for Valibot) and Ryan Conrado. The initial motivation was to create a validation library that was simple, performant, and highly flexible, contrasting with the complexity sometimes seen in other libraries or the emerging trend of relying heavily on LLMs for schema definition. Fabian Hiller noted that Valibot, which he co-created, influenced the desire to improve the developer experience in schema validation. Standard Schema emphasizes modularity, allowing users to compose complex validation logic from simple, clear building blocks. A key advantage highlighted is its strong TypeScript integration, which allows for powerful type inference, making it easier for developers to write correct code without excessive boilerplate. The library is designed so that schema definitions are explicit, minimizing hidden behavior, which is seen as a benefit over opaque AI-driven solutions. Hiller mentioned that the initial version was small, around 100 kilobytes, and they actively avoided adding features that would significantly bloat the bundle size, prioritizing performance and simplicity. The discussion also touched upon the challenge of making these tools intuitive, noting that while they aim for simplicity, users still need to understand the underlying structure to use them effectively. Fabian Hiller mentioned that he wrote the initial version of Valibot for his bachelor's thesis two years prior to the interview, and that he and Ryan Conrado collaborated closely on Standard Schema, sharing similar goals regarding modularity and developer experience.

Raw markdown version of this recap