Skip to content

Conversation

@Rich-Harris
Copy link
Member

i think we can make the serialization step in #17154 quite a bit simpler, and avoid all the d(i) indirection

@changeset-bot
Copy link

changeset-bot bot commented Nov 24, 2025

⚠️ No Changeset found

Latest commit: 308fc7e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions
Copy link
Contributor

Playground

pnpm add https://pkg.pr.new/svelte@17230

@Rich-Harris Rich-Harris mentioned this pull request Nov 24, 2025
8 tasks
@elliott-with-the-longest-name-on-github elliott-with-the-longest-name-on-github merged commit a1d9410 into elliott/hydratable Nov 24, 2025
3 checks passed
@elliott-with-the-longest-name-on-github elliott-with-the-longest-name-on-github deleted the simplify-hydratable branch November 24, 2025 21:19
Rich-Harris added a commit that referenced this pull request Nov 25, 2025
* feat:

* doc comments

* types

* types

* changeset

* tests

* docs

* hopefully

* lint

* finally figured out test issues

* get docs building

* the easy stuff

* prune errors

* feat: capture clobbering better, capture unused keys, don't block on unused keys

* progress on serializing nested promises

* fix

* idk man but the tests are passing so i'ma checkpoint this

* fix tests

* compare resolved serialized values

* robustify

* thunkify

* fixes

* ajsldkfjalsdfkjasd

* tests

* docs

* ugh

* ugh ugh ugh

* Update documentation/docs/06-runtime/05-hydratable.md

Co-authored-by: kaysef <25851116+kaysef@users.noreply.github.com>

* make errors better

* tweak

* remove context restoration

* fix

* trim

* simplify hydratable (#17230)

* simplify hydratable

* tidy up

* unused

---------

Co-authored-by: Elliott Johnson <sejohnson@torchcloudconsulting.com>

* improve errors

* include all non-internal frames, handle identical stacks

* tweak example

* tweak message — setTimeout is covered by ALS

* cut out the middleman

* unused

* tidy

* Apply suggestions from code review

---------

Co-authored-by: Rich Harris <rich.harris@vercel.com>
Co-authored-by: kaysef <25851116+kaysef@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants