Files
Nitro-V3/src/hooks/events
simoleo89 bb1238a5e5 Add useExternalSnapshot + useNitroEventReducer + useMessageEventReducer hooks
The three companions promised in docs/ARCHITECTURE.md proposal #1
('Companion to add later') are now in src/hooks/events/:

- useExternalSnapshot wraps useSyncExternalStore for the renderer's
  EventDispatcher.subscribe() + getXxxSnapshot() pairing introduced in
  Nitro_Render_V3 2.1.0.
- useNitroEventReducer and useMessageEventReducer mirror the existing
  *State hooks but collapse multiple event types into a single owned
  state slice. The message variant accepts either a single event type
  or an array; subscription is wired through a single useEffect to keep
  the rules-of-hooks happy.
2026-05-11 21:11:02 +02:00
..
🆙 Init V3
2026-01-31 09:10:52 +01:00
🆙 Init V3
2026-01-31 09:10:52 +01:00
🆙 Init V3
2026-01-31 09:10:52 +01:00
🆙 Init V3
2026-01-31 09:10:52 +01:00