2022-11-08
2698
#react
Rishi Purwar
140058
Nov 8, 2022 ⋅ 9 min read

Recursive components in React: A real-world example

Rishi Purwar I'm an enthusiastic full-stack Web developer from India who has been building side projects for quite some time now. You can check out all my projects at github.com/rishipurwar1 to learn more about what I do!

Recent posts:

How to manage JavaScript closures in React

The proper handling of JavaScript closures is essential to any JavaScript project. In React projects specifically, closures can manifest themselves […]

Tanishka Kashikar
Mar 24, 2025 ⋅ 10 min read
array filter method javascript

How to use the array filter() method in JavaScript

Learn about the array filter() method, from its basic syntax and use cases to more advanced techniques like chaining with map() and reduce().

Abiola Farounbi
Mar 24, 2025 ⋅ 5 min read
css vertical alignment

CSS vertical alignment: Best practices and examples

CSS has come a long way, making vertical alignment easier than ever. Learn about this concept and explore some of the best CSS vertical alignment techniques.

Facundo Corradini
Mar 23, 2025 ⋅ 8 min read
How to win clients with a Flutter web demo that feels real

How to win clients with a Flutter web demo that feels real

Use Flutter to build browser-based app demos that help clients visualize the product, speed up buy-in, and close deals faster.

Lewis Cianci
Mar 21, 2025 ⋅ 5 min read
View all posts

4 Replies to "Recursive components in React: A real-world example"

  1. What if you have 2 same directory names/file names but in different path?
    How would the key={{parent.name}} work in that case? key will not be unique.

Leave a Reply