TypeScript


Create a Pre-commit Git Hook to Check and Fix Your JavaScript/TypeScript Code Automatically

In this post, we will introduce how to create a Git pre-commit hook to check JavaScript/TypeScript code using ESLint, Prettier, lint-staged, and Husky.

typescriptgit-hookslinting

How to Use React.FC Children Prop in React 18 with TypeScript

How to deal with the new React 18 React.FC type and the children prop for TypeScript

reacttypescriptjavascript

Custom Dropdown Element with React & TypeScript

A guide on how to create a simple React dropdown component using TypeScript.

reactsoftware-developmentjavascript

Angular: Reload/Refresh a Component or Entire Application & Reuse Logic Across Multiple Components

An Angular tutorial on how to reload/refresh a single component or the entire application and reuse the logic across multiple components.

angularjavascripttypescript

Build a Stripe App with Node.js and Typescript - Part 2

stripe-appsaasnodejs

React Navigation v6 with TypeScript

reacttypescriptreact-navigation

Async/Await in Angular ngOnInit using TypeScript Decorator

These TypeScript method decorators make lazy loading easy by making sure that certain async functions are always called before others.

angularjavascripttypescript

Build a Stripe App with Node.js and Typescript - Part 1

stripe-appsaastypescript

How to Use “as const” in TypeScript (const assertions)

When should we use it?

typescript

Build a Custom Theme Provider Using React's Context API

Add support for switching themes in your React App - no libraries, from scratch, in a simple way. All we need is React's Context API and CSS.

reacttypescriptcss