Skip to content

Commit

Permalink
chore: change
Browse files Browse the repository at this point in the history
  • Loading branch information
spencerHT committed Feb 8, 2024
1 parent 498fff8 commit 8d911f0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
7 changes: 7 additions & 0 deletions .changeset/kind-apples-joke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@modern-js/prod-server': minor
'@modern-js/server-core': minor
---

feat: add server SSR fallback hook
feat: 新增 server SSR 降级 hook 实现
8 changes: 4 additions & 4 deletions packages/server/prod-server/tests/render.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ describe('test render function', () => {
extendSSRContext: () => {
// empty
},
handleSSRFallabck: () => {
handleSSRFallback: () => {
// empty
},
} as any,
Expand Down Expand Up @@ -124,7 +124,7 @@ describe('test render function', () => {
extendSSRContext: () => {
// empty
},
handleSSRFallabck: () => {
handleSSRFallback: () => {
// empty
},
} as any,
Expand Down Expand Up @@ -172,7 +172,7 @@ describe('test render function', () => {
extendSSRContext: () => {
// empty
},
handleSSRFallabck: () => {
handleSSRFallback: () => {
// empty
},
} as any,
Expand Down Expand Up @@ -218,7 +218,7 @@ describe('test render function', () => {
extendSSRContext: () => {
// empty
},
handleSSRFallabck: () => {
handleSSRFallback: () => {
// empty
},
} as any,
Expand Down

0 comments on commit 8d911f0

Please sign in to comment.