DEV Community

TypeScript

Optional static type-checking for JavaScript.

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
How to Implement a LangGraph (LangChainJS) in TypeScript (in 5 minutes)

How to Implement a LangGraph (LangChainJS) in TypeScript (in 5 minutes)

31
Comments
4 min read
An intro to TSConfig for JavaScript Developers

An intro to TSConfig for JavaScript Developers

30
Comments 3
6 min read
🛠️ Branded Types

🛠️ Branded Types

1
Comments
2 min read
🛠️ Branded Types

🛠️ Branded Types

Comments
3 min read
Next.js and Bunny CDN: Complete Guide to Image Uploading with Server Actions

Next.js and Bunny CDN: Complete Guide to Image Uploading with Server Actions

5
Comments
10 min read
Create a reusable component for IntersectionObserver

Create a reusable component for IntersectionObserver

2
Comments
6 min read
Angular Event Modifier

Angular Event Modifier

2
Comments 1
2 min read
React Custom Hook: useDidMountEffect

React Custom Hook: useDidMountEffect

2
Comments
1 min read
LeetCode Meditations: Same Tree

LeetCode Meditations: Same Tree

1
Comments
2 min read
Setting up a React project using Vite + TypeScript + Vitest

Setting up a React project using Vite + TypeScript + Vitest

45
Comments 6
3 min read
ChatCraft v2.0.0

ChatCraft v2.0.0

1
Comments 1
2 min read
Understanding Skeleton Loaders: A Guide to Content Loading in React 🦴

Understanding Skeleton Loaders: A Guide to Content Loading in React 🦴

19
Comments
6 min read
Effect 3.0

Effect 3.0

16
Comments
8 min read
TypeScript: Any vs Unknown - Understanding the Difference

TypeScript: Any vs Unknown - Understanding the Difference

4
Comments 2
3 min read
Mastering JavaScript: Multiple Ways to Generate a Two-Dimensional Array

Mastering JavaScript: Multiple Ways to Generate a Two-Dimensional Array

71
Comments 18
5 min read
ChatCraft week 14: Releasing v2.0!

ChatCraft week 14: Releasing v2.0!

4
Comments
3 min read
TypeScript: The Danger of Using the Any Keyword

TypeScript: The Danger of Using the Any Keyword

1
Comments 2
4 min read
Type safe SolidJS Router `useParam` utility Type

Type safe SolidJS Router `useParam` utility Type

1
Comments
2 min read
Improving Dynamic Component Loader Typings in Angular Using Inputs

Improving Dynamic Component Loader Typings in Angular Using Inputs

17
Comments
3 min read
Localized tRPC errors

Localized tRPC errors

Comments
3 min read
Build and deploy a REST API with Postgres database in TypeScript

Build and deploy a REST API with Postgres database in TypeScript

66
Comments
5 min read
State Scope with Providers - Next.js with Jotai

State Scope with Providers - Next.js with Jotai

3
Comments
4 min read
Mastering Next.js 13/14 : App Router and API Routes

Mastering Next.js 13/14 : App Router and API Routes

34
Comments 2
5 min read
Contributing to Open Source Project ChatCraft

Contributing to Open Source Project ChatCraft

8
Comments 2
3 min read
LeetCode Meditations: Maximum Depth of Binary Tree

LeetCode Meditations: Maximum Depth of Binary Tree

2
Comments
3 min read
Mastering TypeScript: A Comprehensive Guide

Mastering TypeScript: A Comprehensive Guide

22
Comments
8 min read
Better, Faster Apps with Next.js

Better, Faster Apps with Next.js

1
Comments
4 min read
【Next.js, GraphQL, Apollo Client】How to rewrite Apollo Client cache after a mutation. -part2-

【Next.js, GraphQL, Apollo Client】How to rewrite Apollo Client cache after a mutation. -part2-

Comments
3 min read
Everyday AI Tools

Everyday AI Tools

7
Comments
2 min read
Creating an OG image using React and Netlify Edge Functions

Creating an OG image using React and Netlify Edge Functions

19
Comments 1
3 min read
Unlocking the Power of Angular Hydration: A Comprehensive Guide

Unlocking the Power of Angular Hydration: A Comprehensive Guide

2
Comments 1
3 min read
【Next.js, React.js】Making Image with Loading component.

【Next.js, React.js】Making Image with Loading component.

Comments
2 min read
Why in Typescript creating an enum doesn't need a =, but creating a new type does?

Why in Typescript creating an enum doesn't need a =, but creating a new type does?

Comments
1 min read
Introducción a TypeScript para Desarrolladores Principiantes: Conceptos, Ventajas y Más

Introducción a TypeScript para Desarrolladores Principiantes: Conceptos, Ventajas y Más

2
Comments
2 min read
Epic Next JS 15 Tutorial Part 7: Next.js and Strapi CRUD Permissions

Epic Next JS 15 Tutorial Part 7: Next.js and Strapi CRUD Permissions

5
Comments
14 min read
React Type Error: not assignable LegacyRef<V> && 'V' refers to a value, did you mean 'typeof V'?

React Type Error: not assignable LegacyRef<V> && 'V' refers to a value, did you mean 'typeof V'?

4
Comments
1 min read
Leveraging useRef in TypeScript for Efficient DOM Manipulation

Leveraging useRef in TypeScript for Efficient DOM Manipulation

6
Comments
2 min read
Angular Addicts #24: Angular 17.3, Signals and unit testing best practices, Storybook 8 & more

Angular Addicts #24: Angular 17.3, Signals and unit testing best practices, Storybook 8 & more

6
Comments 1
5 min read
Understanding the Builder Design Pattern in TypeScript

Understanding the Builder Design Pattern in TypeScript

2
Comments
3 min read
Infinite Loops, Finite Solutions: Guarding Your Angular App's Stability

Infinite Loops, Finite Solutions: Guarding Your Angular App's Stability

1
Comments
3 min read
A small example of how to use the satisfies operator in TypeScript

A small example of how to use the satisfies operator in TypeScript

Comments
2 min read
Angular Signals: Streamline Data Flow and Boost Maintainability

Angular Signals: Streamline Data Flow and Boost Maintainability

2
Comments
2 min read
Next Auth boilerplate TS

Next Auth boilerplate TS

4
Comments 1
9 min read
Mastering Angular: Your Guide to Observable Unsubscription

Mastering Angular: Your Guide to Observable Unsubscription

1
Comments
4 min read
Secure and Simple: Integrating OAuth in Angular with Google Sign-In

Secure and Simple: Integrating OAuth in Angular with Google Sign-In

3
Comments
3 min read
⚛️ Organizing Code in a React Component

⚛️ Organizing Code in a React Component

123
Comments 13
4 min read
ChatCraft week 12: PR merged and follow ups!

ChatCraft week 12: PR merged and follow ups!

1
Comments
2 min read
LeetCode Meditations: Invert Binary Tree

LeetCode Meditations: Invert Binary Tree

1
Comments
2 min read
How to debug GitHub actions. Real-world example

How to debug GitHub actions. Real-world example

2
Comments
6 min read
Understanding Type Annotations in TypeScript

Understanding Type Annotations in TypeScript

4
Comments
4 min read
Get started with Drizzle ORM and Xata's Postgres service

Get started with Drizzle ORM and Xata's Postgres service

Comments
3 min read
Use CSS Variables to style react components on demand

Use CSS Variables to style react components on demand

5
Comments
2 min read
[Next.js] Firebase Authentication with Google Sign-in Using Cookies, Middleware, and Server Actions

[Next.js] Firebase Authentication with Google Sign-in Using Cookies, Middleware, and Server Actions

46
Comments 6
6 min read
Creating an Interactive Time-Tracking Report with React and TypeScript

Creating an Interactive Time-Tracking Report with React and TypeScript

18
Comments 2
25 min read
Filter undefined elements and make ESLint happy, too

Filter undefined elements and make ESLint happy, too

1
Comments
2 min read
React.js vs Angular: Finding the Perfect Fit for Your Project

React.js vs Angular: Finding the Perfect Fit for Your Project

5
Comments
3 min read
A common TypeScript error with useRef

A common TypeScript error with useRef

5
Comments
5 min read
Using markdown to manage content to NextJS App Router

Using markdown to manage content to NextJS App Router

Comments
3 min read
Search Recommendations in Nuxt with Algolia 🚀

Search Recommendations in Nuxt with Algolia 🚀

3
Comments
3 min read
Elevate Your Angular Skills: A Deep Dive into Custom Decorators

Elevate Your Angular Skills: A Deep Dive into Custom Decorators

1
Comments
3 min read
loading...