Skip to content

Commit 64e135c

Browse files
authored
Update async rendering nonce support with breaking change
Replaces the second `context` argument in streaming functions with an `options` object, moving `context` to the third position. This change is part of a minor update as streaming is still in alpha.
1 parent 2dff53d commit 64e135c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.changeset/olive-lamps-agree.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@
22
"preact-render-to-string": minor
33
---
44

5-
async rendering nonce support
5+
Replaces the second `context` argument in our streaming functions with an `options` object, the `context` moves to the third position.
6+
7+
Streaming is considered alpha so we're making this breaking change deliberately as part of a minor.

0 commit comments

Comments
 (0)