Tag: typescript

How To Build A Component Library With React And TypeScript

How to build a component library with React and TypeScript


In this article, we’ll learn what a component library is and how to build our component library with React and TypeScript.

Yan Sun
Feb 15, 2024 ⋅ 13 min read
How To Pass A TypeScript Function As A Parameter

How to pass a TypeScript function as a parameter


Understand TypeScript functions and how to pass them as a parameter in your apps.

Kealan Parr
Feb 6, 2024 ⋅ 7 min read
Comparing Typescript State Management Solutions

Comparing TypeScript state management solutions


Dealing with state management in TypeScript provides benefits like type safety, code formatting, and error management.

Rashedul Alam
Feb 2, 2024 ⋅ 17 min read
Exploring Effect A Meta State Rxjs Like Framework For Writing Typescript

Exploring Effect, a meta-state RxJS-like framework


The Effect library helps you better handle async code, types in async scenarios, and errors in TypeScript projects. Let’s see how.

Isaac Okoro
Jan 17, 2024 ⋅ 6 min read
How To Use Type Guards In TypeScript

How to use type guards in TypeScript


TypeScript uses built-in JavaScript operators like `typeof`, `instanceof`, `in`, and `is`, which are used to determine if an object contains a property.

Oyinkansola Awosan
Jan 15, 2024 ⋅ 6 min read
How To Use React Context With TypeScript

How to use React Context with TypeScript


In this guide, we will learn how to use TypeScript with the React Context API by building a to-do app from scratch.

Ibrahima Ndaw
Jan 4, 2024 ⋅ 13 min read
Leveraging TypeScript Domain-Driven Design

Leveraging TypeScript for domain-driven design


We explore the main principles and guidelines of domain-driven design and see how TypeScript can assist with DDD.

Matteo Di Pirro
Jan 4, 2024 ⋅ 5 min read
How To Use Import Attributes In Typescript And Javascript

How to use import attributes in TypeScript and JavaScript


Import attributes are gaining traction in JavaScript and TypeScript. Let’s explore how they improve app efficiency, stability, and security.

Ukeje Goodness
Jan 3, 2024 ⋅ 6 min read
Using Typescript With Webgl To Render Graphics On The Web

Using TypeScript with WebGL to render graphics on the web


Using TypeScript with WebGL has many potential use cases in the frontend development landscape for rendering 2D and 3D graphics and models.

Oduah Chigozie
Dec 28, 2023 ⋅ 15 min read
Using Strongly Typed Vs Statically Typed Code

Using strongly typed vs. statically typed code


Let’s compare the pros and cons strongly vs. statically typed languages and explore how TypeScript combines the benefits of both.

Debjyoti Banerjee
Dec 20, 2023 ⋅ 6 min read
Angular Unit Testing Tutorial With Examples

Angular unit testing tutorial with examples


This tutorial demonstrates how to build an Angular app and write a unit test, test an async operator, and automatically generate a unit test.

Mesh Seun
Dec 5, 2023 ⋅ 13 min read
How To Use The `Keyof` Operator In TypeScript

How to use the keyof operator in TypeScript


Use the TypeScript `keyof` operator with features like generics, mapped types, and template literal types to improve type safety in your code.

Yan Sun
Nov 27, 2023 ⋅ 8 min read