Designing a strong API for your components has many perks. One of them is that it puts the emphasis on the call-site, making your component easier to use for others.
In this new article, we explore how to design an API in a declarative way. In the end, we end up with a high-level, DSL-like syntax that makes it easy to express a validator type. I hope it …
Keep reading with a 7-day free trial
Subscribe to Mobile System Design to keep reading this post and get 7 days of free access to the full post archives.