Skip to content

v0.1.3

Choose a tag to compare

@czprz czprz released this 15 Jul 23:32

Changed

  • State contract pattern simplified: removed APP_STATE_KEYS entirely — injectAppState now derives keys from APP_INITIAL_STATE via Object.keys() automatically. Adding a new state key only requires changes in two places: the AppState interface and APP_INITIAL_STATE.
  • APP_INITIAL_STATE now uses satisfies AppState instead of an explicit type annotation