-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
feat: async SSR #16748
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
+2,638
−901
Merged
feat: async SSR #16748
Changes from 34 commits
Commits
Show all changes
120 commits
Select commit
Hold shift + click to select a range
d7f5d86
feat: First pass at payload
elliott-with-the-longest-name-on-github f0e4672
Merge remote-tracking branch 'origin/main' into elliott/async-ssr
elliott-with-the-longest-name-on-github c5b639c
first crack
elliott-with-the-longest-name-on-github 0cb6212
snapshots
elliott-with-the-longest-name-on-github 866a11c
checkpoint
elliott-with-the-longest-name-on-github 6bf1442
fix: cloning
elliott-with-the-longest-name-on-github 3ba2512
add test option
elliott-with-the-longest-name-on-github 4ffb8c9
big dumb
elliott-with-the-longest-name-on-github ba95b56
today's hard work; few tests left to fix
elliott-with-the-longest-name-on-github 9802fd4
improve
elliott-with-the-longest-name-on-github df67afe
tests passing no wayyyyy yo
elliott-with-the-longest-name-on-github e39b4b7
lots of progress, couple of failing tests around selects
elliott-with-the-longest-name-on-github 51392be
meh
elliott-with-the-longest-name-on-github d761749
solve async tree stuff
elliott-with-the-longest-name-on-github 259d286
fix select/option stuff
elliott-with-the-longest-name-on-github 835101b
whoop, tests
elliott-with-the-longest-name-on-github 64f9110
simplify
elliott-with-the-longest-name-on-github de48a77
feat: hoisting
elliott-with-the-longest-name-on-github 02b7372
fix: `$effect.pending` sends updates to incorrect boundary
elliott-with-the-longest-name-on-github bd6a414
changeset
elliott-with-the-longest-name-on-github f0b01f7
stuff from upstream
elliott-with-the-longest-name-on-github 3c73cc7
feat: first hydrationgaa
elliott-with-the-longest-name-on-github 380f457
Merge branch 'elliott/effect-pending-correct-boundary' into adjust-bo…
elliott-with-the-longest-name-on-github f98aa72
remove docs
elliott-with-the-longest-name-on-github a8fc627
Merge remote-tracking branch 'origin' into adjust-boundary-error-message
elliott-with-the-longest-name-on-github 5d04b3b
snapshots
elliott-with-the-longest-name-on-github a30de03
silly fix
elliott-with-the-longest-name-on-github 41e26b5
checkpoint
elliott-with-the-longest-name-on-github d4bd8e3
meh
elliott-with-the-longest-name-on-github 26d6613
ALKASJDFALSKDFJ the test passes
elliott-with-the-longest-name-on-github e3b0f80
chore: Update a bunch of tests for hydration markers
elliott-with-the-longest-name-on-github d6c7f58
chore: remove snippet and is_async
elliott-with-the-longest-name-on-github f1c0634
naming
elliott-with-the-longest-name-on-github aa9a72c
better errors for sync-in-async
elliott-with-the-longest-name-on-github e7c6b1c
test improvements
elliott-with-the-longest-name-on-github 5a40601
Merge remote-tracking branch 'origin' into adjust-boundary-error-message
elliott-with-the-longest-name-on-github 127c5a7
idk man
elliott-with-the-longest-name-on-github 4924176
merge local branches (#16757)
elliott-with-the-longest-name-on-github 298f02d
Update payload.js
elliott-with-the-longest-name-on-github 0e5eeb7
checkpoint
elliott-with-the-longest-name-on-github 8773216
got the extra children to go away
elliott-with-the-longest-name-on-github 894b93e
Merge branch 'adjust-boundary-error-message' of github.com:sveltejs/s…
elliott-with-the-longest-name-on-github aaaf428
just gonna go ahead and merge this as the review comments take up too…
Rich-Harris cf75873
chore: remove hoisted_promises (#16766)
Rich-Harris 6a8ab8e
Update packages/svelte/src/compiler/phases/3-transform/server/visitor…
Rich-Harris ed3cb33
chore: fix hydration treeshaking (#16767)
Rich-Harris fbef4bb
remove await_outside_boundary error (#16762)
Rich-Harris 393a44a
chore: remove unused analysis.boundary (#16763)
Rich-Harris 27e33a8
chore: simplify slots (#16765)
Rich-Harris 2365d1b
Apply suggestions from code review
Rich-Harris 3345386
chore: remove metadata.pending (#16764)
Rich-Harris 4e048f1
Update packages/svelte/src/compiler/phases/3-transform/server/visitor…
Rich-Harris e793d2c
put this back where it was, keep the diff small
Rich-Harris 8e7b87a
Merge branch 'main' into adjust-boundary-error-message
Rich-Harris cf3ea69
Update packages/svelte/src/compiler/phases/types.d.ts
elliott-with-the-longest-name-on-github 9d8f259
chore: remove analysis.state.title (#16771)
Rich-Harris ba39144
chore: remove is_async (#16769)
Rich-Harris 3b99bdb
Apply suggestions from code review
elliott-with-the-longest-name-on-github b2cee26
cleanup
elliott-with-the-longest-name-on-github e3e9279
Merge branch 'adjust-boundary-error-message' of github.com:sveltejs/s…
elliott-with-the-longest-name-on-github d26fb1f
lint
elliott-with-the-longest-name-on-github 4356b64
clean up payload a bit
elliott-with-the-longest-name-on-github b63a56a
compiler work
elliott-with-the-longest-name-on-github 5a42efb
run ssr on sync and async
elliott-with-the-longest-name-on-github 65f903e
prettier
Rich-Harris 3eb704d
inline capture
Rich-Harris 04445d4
Update packages/svelte/src/compiler/phases/3-transform/server/visitor…
Rich-Harris a84c78b
chore: simplify build_template (#16780)
Rich-Harris 41f0ff4
small tweak to aid greppability
Rich-Harris f1ca551
chore: fix SSR context (#16781)
Rich-Harris 903f1f1
at least passing
elliott-with-the-longest-name-on-github d694c57
cleanup
elliott-with-the-longest-name-on-github 6b2e1aa
fix
Rich-Harris 6315138
merge
Rich-Harris 81a265a
remove push/pop from exports, not needed with payload
elliott-with-the-longest-name-on-github d8f0cc3
Merge branch 'adjust-boundary-error-message' of github.com:sveltejs/s…
elliott-with-the-longest-name-on-github 77c53d1
I think this is better but tbh not sure
elliott-with-the-longest-name-on-github 941afd0
async SSR
Rich-Harris bc67ee7
qualification
Rich-Harris fc84ada
errors:
elliott-with-the-longest-name-on-github 33329d4
Merge branch 'adjust-boundary-error-message' of github.com:sveltejs/s…
elliott-with-the-longest-name-on-github f6d3894
I have lost the plot
elliott-with-the-longest-name-on-github 4325e67
finally
elliott-with-the-longest-name-on-github d68f89e
ugh
elliott-with-the-longest-name-on-github ec82e9b
tweak error codes to better align with existing conventions, such as …
Rich-Harris 9a09f02
tweak messages
Rich-Harris 69bb7b1
remove unused args
Rich-Harris 66664f0
DRY out a bit
Rich-Harris 44eb878
unused
Rich-Harris 48bace7
unused
Rich-Harris 673e915
unused
Rich-Harris 1abf3d0
simplify - we can enforce readonly at a type level
Rich-Harris 708fca6
unused
Rich-Harris db4a1c0
simplify
Rich-Harris 3ef5612
avoid magical accessors
Rich-Harris 1c91c59
simplify algorithm
Rich-Harris b4a8594
unused
Rich-Harris a2860bb
unused
Rich-Harris 429591b
reduce indirection
Rich-Harris afe737b
TreeState -> SSRState
Rich-Harris 8329315
mark deprecated methods
Rich-Harris 1f5f385
grab this.local from parent directly
Rich-Harris 492da2f
rename render -> fn per conventions (fn indicates 'arbitrary code')
Rich-Harris 3ec461b
reduce indirection
Rich-Harris ab6473c
Revert "reduce indirection"
Rich-Harris 2798ecc
tweak
Rich-Harris 7666f04
okay works this time
Rich-Harris eb33a2f
no way chat, it works
elliott-with-the-longest-name-on-github 3681767
fix context stuff
Rich-Harris 98b2f49
tweak
Rich-Harris 71da772
make it chainable
elliott-with-the-longest-name-on-github 8b16fe4
lint
elliott-with-the-longest-name-on-github 030b186
Merge branch 'adjust-boundary-error-message' of github.com:sveltejs/s…
elliott-with-the-longest-name-on-github b64b095
clean up
elliott-with-the-longest-name-on-github 9ddf6e6
lint
elliott-with-the-longest-name-on-github 1cdd094
Update packages/svelte/src/internal/server/types.d.ts
elliott-with-the-longest-name-on-github 83201fd
sunset html for async
elliott-with-the-longest-name-on-github 60a021b
types
elliott-with-the-longest-name-on-github 25310a2
we use 'deprecated' in other messages
Rich-Harris 65acd71
oops
Rich-Harris 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
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
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.
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.