Skip to content

Fix empty parent removal in travel plan example - #8675

Open
Mahendra-2006 wants to merge 2 commits into
reactjs:mainfrom
Mahendra-2006:docs/first-contribution
Open

Mahendra-2006 wants to merge 2 commits into
reactjs:mainfrom
Mahendra-2006:docs/first-contribution

Conversation

@Mahendra-2006

Copy link
Copy Markdown

Fixes #8141

Updates the travel plan example so that when removing the last child of the parent, the empty parent is also removed from its parent.

@github-actions

Copy link
Copy Markdown

Size changes

Details

📦 Next.js Bundle Analysis for react-dev

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

This branch was successfully deployed

1 active deployment
Preview — 4f65e922 Deployed Sep 29, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Suggestion]: Improvements to an example in the document

1 participant