pmndrs / valtio

🧙 Valtio makes proxy-state simple for React and Vanilla
https://valtio.dev
MIT License
9.04k stars 251 forks source link

chore(tests): Add test that we probably avoid copies. #671

Closed stephenh closed 1 year ago

stephenh commented 1 year ago

Related Issues or Discussions

664

Summary

Add a regression test for #664 .

Granted, this doesn't truly ensure proxy-compare doesn't make a copy, but it still seems worthwhile to prevent accidental regressions.

Check List

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
valtio ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Feb 16, 2023 at 0:56AM (UTC)
codesandbox-ci[bot] commented 1 year ago

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.

Latest deployment of this branch, based on commit 5c379033ca9c0de22e48b75d26e8e8e5a4e28a2b:

Sandbox Source
React Configuration
React Typescript Configuration
React Browserify Configuration
React Snowpack Configuration
React Parcel Configuration