All Things Typescript Newsletter - Issue #8
Good morning fellow Typescript developers; I hope you had a fantastic weekend. First, I am incredibly excited to announce that we have passed the 100 subscribers mark for this newsletter, and I would like to thank all of you for making this happen. I am aiming for the 200 subscribers mark, and I need your help and support; please share this newsletter with your friends and provide any feedback you have.
This week’s newsletter doesn’t have any challenges or Typescript tips. I was away on holiday last week, but we will be looking at Discriminated Unions in the next issue next week and how we can use them to write better Typescript types.
Thanks for reading All Things Typescript! Subscribe for free to receive new posts and support my work.
Chrome Recorder: Record, Replay and Measure User Flows - DEV Community
Typically, a user needs to process multiple pages or steps to finish his journey, such as submitting… Tagged with chrome, webdev, recorder, productivity.
Use TypeScript to Reduce Your Unit Tests
When you are dealing with user-defined inputs, there’s a chance you will find yourself in situations where having to compare text can speed up some functionalities or even be a key functionality in…
Write and Generate Lightning Web Components Code Documentation Using JSDoc
No developer really likes writing extensive code documentation, especially if it is a separate document far away from the actual code. Nevertheless, having well-written documentation is of course very important.
React state meets Typescript’s Union type
If you’re not familiar with it, the Union type is the basic Typescript tool we use to describe a value that is “one of several different types”. This tool, it turns out, has some especially useful applications with React state.
Build a full-stack TypeScript app using tRPC and React - LogRocket Blog
Build a simple, full-stack TypeScript app using tRPC that will be type-safe when it comes to the code and across the API boundary.
TDD Can Make You a Better Programmer
Maybe you’ve heard of TDD, maybe you haven’t, but that’s okay. This article will tell you about TDD and how to use it correctly and effectively to make you a better programmer. TDD is an acronym for Test-Driven Development.
Functional Dependency Injection in Typescript | by Hugo Nteifeh | May, 2022 | Medium
Dependency Injection is the separation of the logic of a unit of code from its dependencies. In the context of functions, it takes the form of modeling those dependencies as parameters to the…