Add compatibility with React 19 <Activity />
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 38.9k
- Forks
- 2.4k
- Avg merge
- 20h 18m
- Merged PRs (30d)
- 35
Description
Describe the feature you'd love to see
React 19 introduces the new component which allows parts of the tree to be paused or hidden without unmounting, so component state, refs, and DOM can be retained across visibility or activity changes
(see docs: https://react.dev/reference/react/Activity)
This feature would be very helpful for managing certain states more conveniently. I would be grateful if this could be considered!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no repository files, tests, or entry points. Read the linked React Activity documentation first, then locate Preact's existing React-compatibility component entry point and define tests for retaining state, refs, and DOM across activity changes; done means behaves as documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100