---
title: "Discussion on \"React Fragment Refs: Attach Behavior Without the Wrapper Div\" | Hashnode"
description: "Discussion on \"React Fragment Refs: Attach Behavior Without the Wrapper Div\". Every React codebase has at least one of these: a <div> that exists for no reason except to hold a ref. Maybe it wraps a list so an IntersectionObserver has something to watch. Maybe it wraps a group"
url: "https://hashnode.com/posts/react-fragment-refs-attach-behavior-without-the-wrapper-div/6ad73fe2fd4e2df137a3614f"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [React Fragment Refs: Attach Behavior Without the Wrapper Div](https://grimicorn.hashnode.dev/react-fragment-refs-attach-behavior-without-the-wrapper-div?utm_source=hashnode&utm_medium=feed)

Every React codebase has at least one of these: a <div> that exists for no reason except to hold a ref. Maybe it wraps a list so an IntersectionObserver has something to watch. Maybe it wraps a group

Oct 20 · 5 min read · grimicorn.hashnode.dev  
Read the article

-   [#react-js](https://hashnode.com/tag/react-js)
-   [#react](https://hashnode.com/tag/react)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#accessibility](https://hashnode.com/tag/accessibility)

## Written by

[Dan Holloran](https://hashnode.com/@grimicorn)

@grimicorn · St. Louis, MO

  
[View profile](https://hashnode.com/@grimicorn)

Full-stack web developer since 2012 · Vue · React · Laravel · danholloran.me

Senior Full Stack Developer with 14+ years building performant, scalable web applications. Passionate about architecture, mentorship, and finding the right tool for the job.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
