4.5
Intermediate
20h
Updated 1 month ago
Building User Interfaces and Functions with TypeScript and React
Delve into TypeScript generics and learn to build reusable functions and React components for searching, sorting, and filtering data, enhancing both business logic and UI efficiency.
TypeScript’s generics are a powerful tool that enables developers to ensure their code is flexible and reusable. Using generics can help developers manage exactly what types are used in functions and components around the application.
In this course, we’ll first get an overview of TypeScript generics and create generic search and sort functions. Next, we’ll create a React component for searching that would leverage our generic search function. Then, we’ll create a generic function and a React component for sorting and filtering, respectively. Finally, we’ll bring all these functionalities together to create one component that can manage searching, sorting, and filtering of any data passed to it.
By the end of this course, you'll know how to write generic TypeScript functions and craft React components that use TypeScript generics. You’ll also be able to deploy concise solutions in both business logic and user interface senses for searching, sorting, and filtering data on client side in applications.
TypeScript’s generics are a powerful tool that enables developers to ensure their code is flexible and reusable. Using generics ...Show More
WHAT YOU'LL LEARN
An understanding of generics in TypeScript
A working knowledge of how to create React components that accept generic arguments
Hands-on experience building React components with TypeScript
Ability to write, modify, and extend generic TypeScript functions
Ability to understand and describe various UI designs
An understanding of the tradeoffs involved in searching, sorting, and filtering functions
An understanding of generics in TypeScript
Show more
Content
1.
Introduction
1 Lessons
Get familiar with advanced TypeScript generics for creating reusable functions and React components.
2.
TypeScript Generics Introduction
2 Lessons
Unpack the core of TypeScript generics to enhance code reusability and type safety.
3.
Creating Mock Data for the Application
2 Lessons
Go hands-on with creating and rendering mock data to enhance application testing.
4.
Building a Generic Search Function and UI Component
5 Lessons
Enhance search functionalities, create a dynamic search input, and implement a debounce mechanism.
5.
Building a Generic Sort Function and UI Component
6 Lessons
Take a look at building reusable sort functions and UI components with TypeScript and React.
6.
Building a Generic Filter Function and UI Component
3 Lessons
Investigate crafting versatile filter functions and dynamic React components for effective UI filtering.
7.
Organizing Everything into a Single Generic Component
7 Lessons
Master the steps to unify and streamline UI components using a single orchestrating component.
8.
Course Review and Final Comments
1 Lessons
Get familiar with developing reusable functions in TypeScript and React, using generics.
9.
Appendix
2 Lessons
Look at setting up the external environment and creating a custom TypeScript function.
Certificate of Completion
Showcase your accomplishment by sharing your certificate of completion.
Course Author:
Developed by MAANG Engineers
Trusted by 2.8 million developers working at companies
"These are high-quality courses. Trust me. I own around 10 and the price is worth it for the content quality. EducativeInc came at the right time in my career. I'm understanding topics better than with any book or online video tutorial I've done. Truly made for developers. Thanks"
Anthony Walker
@_webarchitect_
"Just finished my first full #ML course: Machine learning for Software Engineers from Educative, Inc. ... Highly recommend!"
Evan Dunbar
ML Engineer
"You guys are the gold standard of crash-courses... Narrow enough that it doesn't need years of study or a full blown book to get the gist, but broad enough that an afternoon of Googling doesn't cut it."
Software Developer
Carlos Matias La Borde
"I spend my days and nights on Educative. It is indispensable. It is such a unique and reader-friendly site"
Souvik Kundu
Front-end Developer
"Your courses are simply awesome, the depth they go into and the breadth of coverage is so good that I don't have to refer to 10 different websites looking for interview topics and content."
Vinay Krishnaiah
Software Developer
Hands-on Learning Powered by AI
See how Educative uses AI to make your learning more immersive than ever before.
AI Prompt
Code Feedback
Explain with AI
AI Code Mentor
Free Resources