How to build a Recursive React Component
48.2 هزار بار بازدید -
2 ماه پیش
-
Learn how recursion works in
Learn how recursion works in React by building a simple filesystem viewer.
🚀 Sign up to hear about my new course: buildui.com/courses/advanced-react-component-patte…
💻 Check out the code from the demo: buildui.com/recipes/recursive-filetree
Timestamps:
0:00 - Intro
2:51 - Adding subfolders
4:53 - Extracting a Folder component
5:37 - Adding Recursion
9:43 - How to type recursive components
11:30 - Adding files
13:52 - Making the folders collapsible
18:24 - Refactoring and polish
19:45 - Final demo
20:23 - New cours
2 ماه پیش
در تاریخ 1403/04/31 منتشر شده
است.
48,281
بـار بازدید شده