-
Notifications
You must be signed in to change notification settings - Fork 1k
Beginnings of Server Rendering & Streaming #8561
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 16 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
d74dab7
Pull in changes from experimental render modes branch into Suspense R…
dac09 66d566c
Merge branch 'main' into feat/kc-dc-server-rendering
dac09 137f780
Fix bad merge
dac09 3db95ab
Merge branch 'main' into feat/kc-dc-server-rendering
dac09 3a9d696
Merge branch 'main' into feat/kc-dc-server-rendering
dac09 e4bc979
Recursively trigger routeHooks
dac09 29499b8
Make it build
Tobbe 93603ba
Merge branch 'main' into feat/kc-dc-server-rendering
Tobbe a177424
extract assetMap
Tobbe 01df1fc
Limit code churn
Tobbe 0268f2f
Limit code churn project.mjs
Tobbe fbbfdeb
Merge serve.js with latest on main
Tobbe f29f9dd
babel common.ts: Undo custom plugin names to reduce churn
Tobbe 351e3ba
Merge branch 'main' into feat/kc-dc-server-rendering
Tobbe 12bf302
Resolve getRouteHookBabelPlugins comment
Tobbe 86710c3
Use @TODO for GitHub highlighting to work
Tobbe 94aa4e5
TODO (STREAMING) everywhere
Tobbe 68a50e5
Merge branch 'main' into feat/kc-dc-server-rendering
Tobbe d48d756
after yarn install
Tobbe 85f1f76
Fix merge conflict
Tobbe aae431e
Merge branch 'main' into feat/kc-dc-server-rendering
Tobbe eacfff0
Fix serve.js merge
Tobbe 14a1c63
More serve.js fixes
Tobbe f2f191d
serve.js keep trying
Tobbe eac9296
Revert prerender changes to make current CI pass
Tobbe 142cbe6
buildHandler: Wrap in feature flag check
Tobbe 1791dee
serve.js: streamingSsr feature flag
Tobbe 7389399
Work on getting this mergable by getting behavior closer to what's in…
Tobbe 58870fe
Remove serverData
Tobbe fdf7d64
runFeServer: Add comment about new package
Tobbe 8a3925d
apollo: streamingSsr feature flag
Tobbe b9a410e
Merge branch 'main' into feat/kc-dc-server-rendering
Tobbe 196132e
Merge branch 'main' into feat/kc-dc-server-rendering
Tobbe 9841fd2
Update paths tests
Tobbe b606f19
Merge branch 'feat/kc-dc-server-rendering' of https://github.com/redw…
Tobbe 3b56964
No unsupported import assertions
Tobbe 6117d6e
Merge branch 'main' into feat/kc-dc-server-rendering
Tobbe File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| #!/usr/bin/env node | ||
| import { createRequire } from 'module' | ||
|
|
||
| const requireFromRwVite = createRequire( | ||
| require.resolve('@redwoodjs/vite/package.json') | ||
| ) | ||
|
|
||
| const bins = requireFromRwVite('./package.json')['bin'] | ||
|
|
||
| requireFromRwVite(bins['rw-dev-fe']) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| #!/usr/bin/env node | ||
| import { createRequire } from 'module' | ||
|
|
||
| const requireFromApiServer = createRequire( | ||
| require.resolve('@redwoodjs/api-server/package.json') | ||
| ) | ||
|
|
||
| const bins = requireFromApiServer('./package.json')['bin'] | ||
|
|
||
| requireFromApiServer(bins['rw-serve-api']) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| #!/usr/bin/env node | ||
| import { createRequire } from 'module' | ||
|
|
||
| const requireFromRwVite = createRequire( | ||
| require.resolve('@redwoodjs/vite/package.json') | ||
| ) | ||
|
|
||
| const bins = requireFromRwVite('./package.json')['bin'] | ||
|
|
||
| requireFromRwVite(bins['rw-serve-fe']) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.