Everything you want to know about the Record utility type

The word “Bold” in a book
The word “Bold” in a book
Photo by Jeremy Bishop on Unsplash.


HttpClient Service

constructor(private http: HttpClient) {}getAllTodos(): Observable<TodoModel[]> {
return this.http.get<TodoModel[]>(this.url);
}


The original code


Photo by James Harrison on Unsplash
  • Single source of truth
  • Unidirectional data flow
  • Immutable state at the component level


How to detect and avoid them — or survive inside them

Empty meetings
Empty meetings
Photo by kate.sade on Unsplash


Avoid the magic string, and make your app maintainable and strongly typed

Photo by Ridham Nagralawala on Unsplash

Use Class with static properties


What I’ve learned from using TypeScript’s typing system

Flowers
Flowers
Photo by Melissa Askew on Unsplash.


A comparison between contract and permanent jobs based on my personal experience

Man kayaking
Man kayaking
Photo by Patrick Fore on Unsplash.
  • Working as…


They have common traits that make them stand out

deer in a misty field
deer in a misty field
Photo by Mike Tinnion on Unsplash


What is infer keyword? What are the use cases?

Photo by Jeremy Bishop on Unsplash

Sunny Sun

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store