vitejs / vitejs/vite-plugin-react

Needs a way to know when all client references are resolved (DEV only)

Open
#1,161 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

pending triage plugin: rsc
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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.