DEV Community

TypeScript

Optional static type-checking for JavaScript.

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Using discriminated union types in TypeScript

Using discriminated union types in TypeScript

3
Comments
6 min read
How to create truly const object in JavaScript?

How to create truly const object in JavaScript?

1
Comments
2 min read
Optional vs. Undefined: Understanding TypeScript's Approach to Required Properties

Optional vs. Undefined: Understanding TypeScript's Approach to Required Properties

3
Comments
4 min read
Custom Hooks - useToggle()

Custom Hooks - useToggle()

Comments
2 min read
Create a blog with Supabase and Next.js - part 2 - the UI

Create a blog with Supabase and Next.js - part 2 - the UI

6
Comments
4 min read
Weird Type Coercions

Weird Type Coercions

1
Comments
3 min read
Auto-add missing imports on file save in VS Code ✨

Auto-add missing imports on file save in VS Code ✨

42
Comments 7
2 min read
Type safety - The power of Zod

Type safety - The power of Zod

2
Comments
3 min read
Superpowers with Directives and Dependency Injection: Part 1

Superpowers with Directives and Dependency Injection: Part 1

75
Comments 7
6 min read
🪐 Why useState returns an array in React?

🪐 Why useState returns an array in React?

1
Comments
2 min read
Query GitHub Repo Topics Using GraphQL

Query GitHub Repo Topics Using GraphQL

3
Comments
7 min read
Creating a proper experience system for your game

Creating a proper experience system for your game

3
Comments 1
3 min read
TANStack Query: How It Changes the Way You Query APIs

TANStack Query: How It Changes the Way You Query APIs

3
Comments 4
4 min read
Setup a Dynamic GitHub User Profile README

Setup a Dynamic GitHub User Profile README

10
Comments
5 min read
Thinking in React (Visualized)

Thinking in React (Visualized)

28
Comments 3
2 min read
👋 Sign in for the ability to sort posts by relevant, latest, or top.