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.
Top Articles
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
One of the most common arguments I’ve heard from those who haven’t adopted TypeScript is “If things work in JavaScript why would I write it in TypeScript?”. Their interest level drops even further when they saw the extra codes that they’ll have to write.
How to Use the PatienceDiff Method in Javascript | by Tommaso De Ponti | Apr, 2022 | Better Programming
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.
The Bridge Design Pattern in JavaScript
In this article we will be going over the Bridge Design Pattern in JavaScript. This is one of the top used patterns that make a significant impact in softare applications. It is a pattern that easily promotes a separation of concerns in its implementation and it’s scalable.
How to escape from memory leaks in JavaScript - LogRocket Blog
Explore memory management, types of memory leaks, and hunting memory leaks in JavaScript using Chrome DevTools.
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…