Skip to content

Commit

Permalink
fix timing issue with deferStream
Browse files Browse the repository at this point in the history
  • Loading branch information
ryansolid committed Dec 1, 2023
1 parent 4600682 commit e09a3cc
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 26 deletions.
5 changes: 5 additions & 0 deletions .changeset/rotten-foxes-cough.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"solid-js": patch
---

fix timing issue with deferStream
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,18 @@
"babel-plugin-jsx-dom-expressions": "^0.37.9",
"coveralls": "^3.1.1",
"csstype": "^3.1.0",
"dom-expressions": "0.37.9",
"hyper-dom-expressions": "0.37.9",
"dom-expressions": "0.37.10",
"hyper-dom-expressions": "0.37.10",
"jsdom": "^21.1.1",
"lit-dom-expressions": "0.37.9",
"lit-dom-expressions": "0.37.10",
"ncp": "^2.0.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.8",
"rimraf": "^3.0.2",
"rollup": "^3.7.5",
"rollup-plugin-cleanup": "^3.2.1",
"rollup-plugin-copy": "^3.4.0",
"seroval": "^0.14.1",
"seroval": "^0.15.1",
"simple-git-hooks": "^2.8.1",
"symlink-dir": "^5.0.1",
"tsconfig-replace-paths": "^0.0.11",
Expand Down
2 changes: 1 addition & 1 deletion packages/solid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,6 @@
],
"dependencies": {
"csstype": "^3.1.0",
"seroval": "^0.14.1"
"seroval": "^0.15.1"
}
}
2 changes: 1 addition & 1 deletion packages/solid/src/server/rendering.ts
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ type HydrationContext = {
id: string;
count: number;
serialize: (id: string, v: Promise<any> | any, deferStream?: boolean) => void;
push: (v: any) => string;
nextRoot: (v: any) => string;
replace: (id: string, replacement: () => any) => void;
block: (p: Promise<any>) => void;
resources: Record<string, any>;
Expand Down
40 changes: 20 additions & 20 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e09a3cc

Please sign in to comment.