-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
docs: more details for errors/warnings on the site #14632
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
preview: https://svelte-dev-git-preview-svelte-14632-svelte.vercel.app/ this is an automated message |
|
Co-authored-by: Rich Harris <[email protected]>
ah crap i've been making changes to the generated files 🤦 |
|
||
```js | ||
const state = $state({ property: 'this is cloneable', window }) | ||
const snapshot = $state.snapshot(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const snapshot = $state.snapshot(); | |
const snapshot = $state.snapshot(state); |
|
||
```js | ||
const state = $state({ property: 'this is cloneable', window }) | ||
const snapshot = $state.snapshot(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const snapshot = $state.snapshot(); | |
const snapshot = $state.snapshot(state); |
Related to #11305