• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

eustatos / nexus-state / 23642968821 / 10 – immer
71%
main: 71%

Build:
DEFAULT BRANCH: main
Ran 27 Mar 2026 10:57AM UTC
Files 1
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

27 Mar 2026 10:55AM UTC coverage: 100.0%. Remained the same
immer – 23642968821.10

push

github

web-flow
refactor(core): atom = identity + logic (state in Store)

ARCHITECTURE: Atom is a label, not state container
- Atoms register lazily on first store.get/set/subscribe()
- State lives in Store, not in Atom
- Global registry stores atom references + metadata only

CHANGES:
- atom.ts: Remove immediate registration, lazy-only
- atom-registry.ts: Store references + metadata (not values)
- StoreImpl.ts: Fast-path registration in createGetter()
- TimeTravelController.ts: Store-specific tracking with DEV warnings

BENEFITS:
✅ SSR Isolation: One atom, different states per store
✅ Time-travel: Snapshots are store-specific
✅ Memory: States GC'd with store, atoms lightweight
✅ Multi-store: Shared atoms work correctly

PERFORMANCE:
- Baseline (atom creation): 25x faster (124ms → 5ms)
- Factory (createReactiveValue): 4x faster (285ms → 67ms)
- Overhead % appears higher due to smaller baseline

TESTS:
- Updated tests for explicit atom access before capture
- 1259/1259 core tests passed
- 99/99 time-travel tests passed

Refs: #71

4 of 4 branches covered (100.0%)

Branch coverage included in aggregate %.

24 of 24 relevant lines covered (100.0%)

12.75 hits per line

Source Files on job immer - 23642968821.10
  • Tree
  • List 1
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 23642968821
  • 160a4a7d on github
  • Prev Job for on main (#23602700180.8)
  • Next Job for on main (#24570659818.6)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc