v17.0.0.rc.10
Pre-release
Pre-release
Fixed
- [Pro] Fixed webpack server-bundle builds for apps without
react-on-rails-rsc(e.g. React 18 apps):
17.0.0.rc.9 made webpack fail withModule not found: Can't resolve 'react-on-rails-rsc/client.node'
(andserver.node) unless the optionalreact-on-rails-rscpeer dependency was installed, because the
streaming path imported the RSC manifest loaders and bundlers resolve even lazyimport()specifiers at
build time. The manifest stylesheet helpers now live in a module with no runtimereact-on-rails-rsc
imports, and a regression test keeps every non-RSC entry graph free of them.react-on-rails-rscremains
optional: only React Server Components (which require React 19) need it, and React on Rails Pro continues
to work with React 18 with RSC disabled.
PR 4641 by
justin808.