2022-01-25
2050
#react
Vijit Ail
38279
Jan 25, 2022 ⋅ 7 min read

Understanding React fragments

Vijit Ail Software Engineer at toothsi. I work with React and NodeJS to build customer-centric products. Reach out to me on LinkedIn or Instagram.

Recent posts:

the replay january 7

The Replay (1/7/26): React’s biggest problem, TanStack’s evolution, and more

Discover what’s new in The Replay, LogRocket’s newsletter for dev and engineering leaders, in the January 7th issue.

Matt MacCormack
Jan 7, 2026 ⋅ 31 sec read
jack herrington useeffectevent

React has finally solved its biggest problem: The joys of useEffectEvent

Jack Herrington breaks down how React’s new useEffectEvent Hook stabilizes behavior, simplifies timers, and enables predictable abstractions.

Jack Herrington
Jan 7, 2026 ⋅ 5 min read

Don’t ship another chat UI. Build real AI with AG-UI

AG-UI is an event-driven protocol for building real AI apps. Learn how to use it with streaming, tool calls, and reusable agent logic.

Emmanuel John
Jan 6, 2026 ⋅ 14 min read

Anti-frameworkism: Choosing native web APIs over frameworks

Frontend frameworks are often chosen by default, not necessity. This article examines when native web APIs deliver better outcomes for users and long-term maintenance.

Anna Monus
Jan 5, 2026 ⋅ 7 min read
View all posts

2 Replies to "Understanding React fragments"

  1. Great article. The examples makes it clear.

    I’ve always use the shorthand and didn’t realise props can be passed in to list as well.
    I’m gonna to try next time.

    Thanks Vijit.

  2. You used very simple examples and demonstrations. I now understand what the documentation was referring to as adding a node. Thanks!

Leave a Reply

Hey there, want to help make our blog better?

Join LogRocket’s Content Advisory Board. You’ll help inform the type of content we create and get access to exclusive meetups, social accreditation, and swag.

Sign up now