diff --git a/.changeset/kind-apples-joke.md b/.changeset/kind-apples-joke.md new file mode 100644 index 000000000000..fe55f6f20403 --- /dev/null +++ b/.changeset/kind-apples-joke.md @@ -0,0 +1,7 @@ +--- +'@modern-js/prod-server': minor +'@modern-js/server-core': minor +--- + +feat: add server SSR fallback hook +feat: 新增 server SSR 降级 hook 实现 diff --git a/packages/server/prod-server/tests/render.test.ts b/packages/server/prod-server/tests/render.test.ts index 4518f48d022f..19e094abd0b2 100644 --- a/packages/server/prod-server/tests/render.test.ts +++ b/packages/server/prod-server/tests/render.test.ts @@ -31,7 +31,7 @@ describe('test render function', () => { extendSSRContext: () => { // empty }, - handleSSRFallabck: () => { + handleSSRFallback: () => { // empty }, } as any, @@ -124,7 +124,7 @@ describe('test render function', () => { extendSSRContext: () => { // empty }, - handleSSRFallabck: () => { + handleSSRFallback: () => { // empty }, } as any, @@ -172,7 +172,7 @@ describe('test render function', () => { extendSSRContext: () => { // empty }, - handleSSRFallabck: () => { + handleSSRFallback: () => { // empty }, } as any, @@ -218,7 +218,7 @@ describe('test render function', () => { extendSSRContext: () => { // empty }, - handleSSRFallabck: () => { + handleSSRFallback: () => { // empty }, } as any,