Skip to content

feat: support Vue live molecule props - #19

Merged
aose-yuu merged 3 commits into
mainfrom
codex/live-props
May 16, 2026
Merged

aose-yuu merged 3 commits into
mainfrom
codex/live-props

Conversation

@aose-yuu

@aose-yuu aose-yuu commented May 16, 2026 •

Copy link
Copy Markdown
Contributor

Purpose

Support live props sources for Vue molecules while updating the adapter to the core 0.7 peer range.

Summary

  • Adds useMolecule(factory, () => props) as a Vue watchEffect-backed live props source.
  • Keeps direct object props as an initial snapshot and stops getter sync when the component scope is disposed.
  • Documents how Vue components should bridge framework props into controller/headless molecules.
  • Covers object snapshot behavior, getter-driven updates, and disposal of props sync.

Verification

  • mise run ci

@aose-yuu
aose-yuu marked this pull request as ready for review May 16, 2026 15:09

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6a533772b4

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/useMolecule.ts
@aose-yuu
aose-yuu merged commit 8a54c14 into main May 16, 2026
1 check passed
@aose-yuu
aose-yuu deleted the codex/live-props branch May 16, 2026 15:24
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