Skip to content

Commit 4d6c72f

Browse files
authored
chore(rsc): move comment (#604)
1 parent 22e5398 commit 4d6c72f

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

packages/plugin-rsc/examples/basic/src/framework/entry.ssr.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ export async function renderHTML(
4242
let responseStream: ReadableStream<Uint8Array> = htmlStream
4343
if (!options?.debugNojs) {
4444
// initial RSC stream is injected in HTML stream as <script>...FLIGHT_DATA...</script>
45-
// using utility made by devongovett https://github.com/devongovett/rsc-html-stream
4645
responseStream = responseStream.pipeThrough(
4746
injectRSCPayload(rscStream2, {
4847
nonce: options?.nonce,

packages/plugin-rsc/examples/starter/src/framework/entry.ssr.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ export async function renderHTML(
4242
let responseStream: ReadableStream<Uint8Array> = htmlStream
4343
if (!options?.debugNojs) {
4444
// initial RSC stream is injected in HTML stream as <script>...FLIGHT_DATA...</script>
45+
// using utility made by devongovett https://github.com/devongovett/rsc-html-stream
4546
responseStream = responseStream.pipeThrough(
4647
injectRSCPayload(rscStream2, {
4748
nonce: options?.nonce,

0 commit comments

Comments
 (0)