Ever since I started using Firestore about 8 years ago, I have been wanting to find a better way to type my code and reduce boilerplate. I finally found a way to write clean, strongly-typed code with abstractions that are easy to use and adopt in any Typescript project.
I have created a set of abstractions for server environments and React / React Native applications. If you want to see them applied in a working example you can check out mono-ts.
Read the full article here
Cheers,
Thijs