Dhruv RajvanshiAdvanced Typescript patternsWell, I won’t technically show you “patterns” but I’ll show you some advanced type level things along with the explanations and hopefully…May 9, 20184May 9, 20184
Dhruv RajvanshiMaking exceptions type safe in TypescriptEDIT: The ideas presented in this post have been released as a library on npm (https://github.com/dhruvrajvanshi/ts-failable) so check that…Feb 11, 20183Feb 11, 20183
Dhruv RajvanshiSome 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…Nov 12, 20174Nov 12, 20174
Dhruv RajvanshiThoughts 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…Nov 11, 20173Nov 11, 20173
Dhruv RajvanshiSimulating 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…Oct 26, 20175Oct 26, 20175
Dhruv RajvanshiType inference for beginners — Part 1Greetings. This is a tutorial series for gradually implementing type checking/inference.Oct 20, 20175Oct 20, 20175