Dhruv Rajvanshi·May 9, 2018Advanced Typescript patternsHere are some cool things that I discovered in Typescript that allow me to statically check pretty neat invariants and reduce…A response icon4A response icon4
Dhruv Rajvanshi·Feb 11, 2018Making exceptions type safe in TypescriptMany times I’ve wished that I could reason about exceptions in a type safe manner. Like getting a specific field from the exception to…A response icon3A response icon3
Dhruv Rajvanshi·Nov 12, 2017Some tips on type safety with ReduxI’ve been using Redux/Typescript in a medium sized project and I’m one of those people who don’t trust themselves at all at writing code…A response icon4A response icon4
Dhruv Rajvanshi·Nov 11, 2017Thoughts on Redux and it’s similarities with OOPYou might have heard about Redux, a great library for state management for UI applications. I’ve personally used Redux to rewrite a…A response icon3A response icon3
Dhruv Rajvanshi·Oct 26, 2017Simulating Haskell’s do notation in TypescriptHaskell has convenient syntax for monads called “do notation” that is useful for flattening out nested Monadic binds (sort of equivalent to…A response icon5A response icon5
Dhruv Rajvanshi·Oct 21, 2017Type inference for beginners — Part 2PolymorphismA response icon5A response icon5
Dhruv Rajvanshi·Oct 20, 2017Type inference for beginners — Part 1Greetings. This is a tutorial series for gradually implementing type checking/inference.A response icon5A response icon5