2023-05-01
2055
#typescript
Ishan Manandhar
157610
105
May 1, 2023 ⋅ 7 min read

Using TypeScript generics to create reusable components

Ishan Manandhar Ishan is a passionate product designer and frontend developer. He likes learning and implementing new tech stacks. He frequently writes blogs and also runs his YouTube channel, For Those Who Code.

Recent posts:

React Native Push Notifications A Complete How To Guide

React Native push notifications: A complete how-to guide

Learn all about how to implement push notifications in React Native in this ultimate guide and step-by-step tutorial.

Fortune Ikechi
Jan 17, 2024 ⋅ 12 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
Exploring The Redux Second Generation

Exploring Redux Toolkit 2.0 and the Redux second generation

Catch up on the new wave of Redux updates to Redux Toolkit, Redux core, React Redux, and more in the Redux environment.

Stephan Miller
Jan 16, 2024 ⋅ 7 min read
Next.js No-Code Platforms Rapid Development

Exploring Next.js no-code platforms for rapid development

We explore the advantages, drawbacks, and best practices associated with using Next.js no-code platforms to speed up frontend development.

Oyinkansola Awosan
Jan 15, 2024 ⋅ 6 min read
View all posts

One Reply to "Using TypeScript generics to create reusable components"

  1. “and that it will take a parameter of item, which is a type of array consisting of numbers. Finally, this function returns a value, which is also an array of numbers.

    As you can see, we have already introduced a few constraints inside of our code. Let’s say want to loop through an array of numbers instead ”
    array of numbers instead of an array of numbers?

Leave a Reply