Skip to content

feat(engine): subscribeStore + useEngineStore/useEngineSelector#25

Merged
developer-1px merged 2 commits into
mainfrom
feat/use-engine-store
Apr 21, 2026
Merged

feat(engine): subscribeStore + useEngineStore/useEngineSelector#25
developer-1px merged 2 commits into
mainfrom
feat/use-engine-store

Conversation

@developer-1px
Copy link
Copy Markdown
Owner

Summary

  • CommandEngine에 subscribeStore(listener) 추가 — store 교체 시만 발화하는 안정 참조 시그니처
  • useEngineStore / useEngineSelector React 18 공식 구독 훅 (useSyncExternalStore 기반)
  • shallow 비교 유틸
  • useAriaZone/useControlledAria 가상 엔진에 subscribeStore no-op 반영
  • subscribeStore.test 6/6 passing

Test plan

  • typecheck clean
  • subscribeStore.test 6/6 passing

유용태 and others added 2 commits April 21, 2026 14:01
3층 변화속도 모델(primitive/genre/module) + 선순환 루프 + 마켓 성립 8조건
진척도 + 창작자 경제 지향점. defineFeature를 마켓 첫 원시 단위로 재해석.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- CommandEngine에 subscribeStore(listener) 추가 — store 교체 시만 발화, useSyncExternalStore용 안정 참조 시그니처
- src/interactive-os/engine/useEngineStore.ts — React 18 공식 구독 훅
- src/interactive-os/engine/shallow.ts — shallow 비교 유틸
- useAriaZone/useControlledAria 가상 엔진에 subscribeStore no-op 추가
- 6 tests passing
@developer-1px developer-1px merged commit acf116e into main Apr 21, 2026
2 of 3 checks passed
@developer-1px developer-1px deleted the feat/use-engine-store branch April 21, 2026 05:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant