Skip to content

fix: removed watch from export#7

Merged
dai-shi merged 1 commit intovaltiojs:mainfrom
overthemike:remove-watch-from-exports
Jan 14, 2026
Merged

fix: removed watch from export#7
dai-shi merged 1 commit intovaltiojs:mainfrom
overthemike:remove-watch-from-exports

Conversation

@overthemike
Copy link
Contributor

  • Removed watch from export in index
  • Updated watch import for tests to use relative path
  • Updated watch import to use effect in example

@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Copy link
Member

@dai-shi dai-shi left a comment

Choose a reason for hiding this comment

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

Thanks!

Comment on lines +3 to +4
import { batch } from 'valtio-reactive';
import { watch } from '../src/core.js';
Copy link
Member

Choose a reason for hiding this comment

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

Oh, I see. It feels a bit off. We'll think about it in the future.

@dai-shi dai-shi merged commit 229ca2d into valtiojs:main Jan 14, 2026
2 checks passed
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.

2 participants