Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(entry.server): provide nonce to react scripts
This patch provides the `nonce` option to the React `renderToPipeableStream` function so that React will add it to scripts dynamically injected (e.g. the `<Suspense>` inline scripts). Ref: https://react.dev/reference/react-dom/server/renderToPipeableStream#parameters Ref: facebook/react#26026 (comment) Ref: remix-run/remix#5156 (comment)
- Loading branch information