vitejs / vitejs/vite-plugin-react
Needs a way to know when all client references are resolved (DEV only)
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.2k
- Forks
- 269
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 19
Description
Related plugins
Description
https://github.com/wakujs/waku/pull/1997#discussion_r2973012720
We should probably create a reproduction without Waku first.
Suggested solution
For server (SSR), I think just deferring the rsc stream would work.
For client, I'm not sure yet.
Alternative
No response
Additional context
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
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
Start with the linked Waku pull request discussion and create the requested reproduction without Waku. Compare the checked plugin-rsc case with the unchecked plugin-react, plugin-react-swc, and plugin-react-oxc cases; the work is done when the reproduction can determine when all client references are resolved for both server and client paths.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100