Repository navigation
feat(collections): add async and optimistic reactive collection factories - #1061
Monkeylordz wants to merge 9 commits into
Conversation
|
👷 Deploy request for solid-primitives-v2 pending review.Visit the deploys page to approve it
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
…mitives into feat/collections
# Conflicts: # pnpm-workspace.yaml
|
Hi there, would you like to run an agent to cleanup and and correct conflicts with the latest version of the next branch? |
…mitives into feat/collections # Conflicts: # pnpm-workspace.yaml
Patch Solid web rc.21 to preserve untouched cyclic serialization graphs and shared object keys. Flatten the collections test layout, retain SSR-before-hydration execution, and align manual-write coverage with Solid batching. Validation: 40 SSR, 150 client, and 102 GC tests pass; type checks, lint, formatting, package build, and frozen lockfile checks pass.
Use unmodified Solid rc.21 and retain the enabled hydration regressions to track upstream behavior. Remove the patch, its dependency metadata, and patch-specific documentation.
Adds
@solid-primitives/collectionswithcreateReactiveMap,createReactiveSet,createReactiveWeakMap, andcreateReactiveWeakSet. Each collection supports mutable entries and compute functions while preserving lazy, independent subscriptions to individual keys or members.@solid-primitives/collections/serialization.These are explicitly NOT in the
map/setpackages, because they use a shared backend. I considered re-exporting them in those packages but decided against it - thiscollectionswould still need to be published to prevent duplicate code, and then we would be exporting the same thing in two different packages.Validation: collection build, type checks, lint, story formatting, and the full shared Storybook production build pass.