File tree Expand file tree Collapse file tree 5 files changed +72
-2
lines changed
Expand file tree Collapse file tree 5 files changed +72
-2
lines changed Original file line number Diff line number Diff line change 77 },
88 "changesets" : [
99 " better-cities-relate" ,
10+ " dark-zoos-bet" ,
1011 " lazy-kids-grow" ,
1112 " slimy-rings-love" ,
1213 " stale-bananas-strive"
Original file line number Diff line number Diff line change 11# @quantajs/core
22
3+ ## 2.0.0-beta.4
4+
5+ ### Major Changes
6+
7+ - 9b5b301: feat(react): refactor useQuantaStore with cached snapshots
8+
9+ \- Add store-level Set<subscribers > + notifyAll in createStore
10+
11+ \- Wire flattenStore.set trap → trigger + notifyAll
12+
13+ \- Generic Dependency<S > with snapshot-aware notify()
14+
15+ \- Update StoreSubscriber to (snapshot?: S) => void
16+
17+ \- Rewrite @quantajs/react useQuantaStore:
18+
19+   ; • useRef cache + fresh flat snapshot on every core mutation
20+
21+   ; • stable actions/getters (no re-bind loops)
22+
23+   ; • selector support for fine-grained re-renders
24+
25+   ; • SSR-safe server snapshot
26+
27+   ; • full error isolation (warn, never crash on bad subscriber)
28+
29+ \- Fix React re-render staleness: UI now updates instantly
30+
31+ \- Eliminate infinite-loop warning (cached snapshot is stable until dirty)Please enter a summary for your changes.
32+
33+ An empty message aborts the editor.
34+
335## 2.0.0-beta.3
436
537### Major Changes
Original file line number Diff line number Diff line change 2020 "url" : " https://github.com/quanta-js/quanta/issues"
2121 },
2222 "homepage" : " https://quantajs.com" ,
23- "version" : " 2.0.0-beta.3 " ,
23+ "version" : " 2.0.0-beta.4 " ,
2424 "type" : " module" ,
2525 "license" : " MIT" ,
2626 "scripts" : {
Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## 2.0.0-beta.4
4+
5+ ### Major Changes
6+
7+ - 9b5b301: feat(react): refactor useQuantaStore with cached snapshots
8+
9+ \- Add store-level Set<subscribers > + notifyAll in createStore
10+
11+ \- Wire flattenStore.set trap → trigger + notifyAll
12+
13+ \- Generic Dependency<S > with snapshot-aware notify()
14+
15+ \- Update StoreSubscriber to (snapshot?: S) => void
16+
17+ \- Rewrite @quantajs/react useQuantaStore:
18+
19+   ; • useRef cache + fresh flat snapshot on every core mutation
20+
21+   ; • stable actions/getters (no re-bind loops)
22+
23+   ; • selector support for fine-grained re-renders
24+
25+   ; • SSR-safe server snapshot
26+
27+   ; • full error isolation (warn, never crash on bad subscriber)
28+
29+ \- Fix React re-render staleness: UI now updates instantly
30+
31+ \- Eliminate infinite-loop warning (cached snapshot is stable until dirty)Please enter a summary for your changes.
32+
33+ An empty message aborts the editor.
34+
35+ ### Patch Changes
36+
37+ - Updated dependencies [ 9b5b301]
38+ - @quantajs/core @2.0.0-beta.4
39+
340## 2.0.0-beta.3
441
542### Major Changes
Original file line number Diff line number Diff line change 2222 "url" : " https://github.com/quanta-js/quanta/issues"
2323 },
2424 "homepage" : " https://quantajs.com" ,
25- "version" : " 2.0.0-beta.3 " ,
25+ "version" : " 2.0.0-beta.4 " ,
2626 "type" : " module" ,
2727 "license" : " MIT" ,
2828 "scripts" : {
You can’t perform that action at this time.
0 commit comments