Problem
packages/react-on-rails-pro/tests/tanstackRouter.test.ts fails on the upcoming-v16.3.0 branch when run with Node 20:
React.act is not available — React 18.3+ or 19+ is required
The test passes on main with Node 20 (verified on branch jg/concurrent-worktree-ports).
CI evidence
- Fails:
build (20) on fix/rsc-streaming-flush (based on upcoming-v16.3.0)
- Passes:
build (20) on jg/concurrent-worktree-ports (based on main)
Likely cause
A dependency or configuration difference between upcoming-v16.3.0 and main that affects which React version is resolved for Node 20 in the test environment. The test requires React.act which is only available in React 18.3+.
Branch
This issue exists on upcoming-v16.3.0, not on main.
Problem
packages/react-on-rails-pro/tests/tanstackRouter.test.tsfails on theupcoming-v16.3.0branch when run with Node 20:The test passes on
mainwith Node 20 (verified on branchjg/concurrent-worktree-ports).CI evidence
build (20)onfix/rsc-streaming-flush(based onupcoming-v16.3.0)build (20)onjg/concurrent-worktree-ports(based onmain)Likely cause
A dependency or configuration difference between
upcoming-v16.3.0andmainthat affects which React version is resolved for Node 20 in the test environment. The test requiresReact.actwhich is only available in React 18.3+.Branch
This issue exists on
upcoming-v16.3.0, not onmain.