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

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Quiet
Tech stack
react, typescript
Domain
frontend, tooling

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.

Description

pending triage plugin: rsc
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
Dominant language
TypeScript
Stars
1.2k
Forks
287
Avg merge
1d 17h
Merged PRs (30d)
19

Getting set up

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.

More from vitejs/vite-plugin-react

All issues in vitejs/vite-plugin-react

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.