React Form Validation without abstraction

Daniel Steigerwald
1 min readSep 16, 2017

--

Forms are often over-engineered. They don’t have to be. Let’s start with types. Why? Because types help us to think about architecture.

Update: In https://github.com/este/este, you will found even more simple and concise and powerful example of modern typed universal validation.

Types and validators

ValidationError component to render validation error as message

Example usage

And that’s all. It’s explicit, typed, and clean.

--

--