Tag: typescript

Comparing Typescript State Management Solutions

Comparing TypeScript state management solutions

Dev

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

Dev

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

Dev

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
Leveraging TypeScript Domain-Driven Design

Leveraging TypeScript for domain-driven design

Dev

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

Dev

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

Dev

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

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

Using strongly typed vs. statically typed code

Dev

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
How To Use The `Keyof` Operator In TypeScript

How to use the keyof operator in TypeScript

Dev

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
Implementing safe, dynamic localization in TypeScript apps

Implementing safe, dynamic localization in TypeScript apps

Dev

After internationalization, you can further localize your apps to make user experiences more friendly. Learn how to do this in TypeScript.

Yan Sun
Nov 21, 2023 ⋅ 6 min read
How To Use TypeScript With React: A Tutorial With Examples

How to use TypeScript with React: A tutorial with examples

Dev

Learn how using TypeScript with React can increase development speed, improve code readability, and much more.

Ogundipe Samuel
Oct 16, 2023 ⋅ 9 min read
Adding Interactive Code Snippets To Ssg Sites

Add interactive code snippets to statically generated sites

Dev

Interactive code snippets enhance the UX of your SSG content. Let’s discuss how to implement this feature using a library called blog-cells.

Peter Ekene Eze
Oct 11, 2023 ⋅ 7 min read
Validating Structural Data Valibot

Validating structural data with Valibot

We introduce Valibot, one of the newest validation libraries on the block, show how it works, and see how it compares with existing validation libraries such as Zod and Yup.

David Omotayo
Oct 11, 2023 ⋅ 7 min read