Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"polite-geckos-perform",
"polite-heads-walk",
"poor-olives-peel",
"quick-fragments-sync",
"silver-cases-heal",
"silver-paws-push",
"tasty-deers-think",
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# solid-relay

## 1.0.0-beta.28

### Patch Changes

- 996e806: fix: publish fragment results synchronously

`createFragment` deferred every `observeFragment` result to a microtask, including the first snapshot emitted synchronously on subscribe for data already in the store. Nested fragment components therefore needed one microtask turn per level, and when mounted inside a pending Solid transition (e.g. a router navigation) each level's gating memo was computed on both the normal and the transition branch, re-creating the subtree `2^depth - 1` times. Results are now published synchronously, and the underlying resource resolves immediately for data already in the store instead of becoming pending.

## 1.0.0-beta.27

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "solid-relay",
"version": "1.0.0-beta.27",
"version": "1.0.0-beta.28",
"description": "SolidJS bindings for Relay",
"homepage": "https://solid-relay.xiniha.dev",
"license": "MIT",
Expand Down
Loading