You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
svelte/packages/playground
gtmnayan 508e30c681
fix: @html mismatch in hydration
1 year ago
..
src fix: @html mismatch in hydration 1 year ago
.gitignore chore: playground (#8648) 2 years ago
README.md fix: handle patterns in destructured literals (#8871) 2 years ago
compile.js fix: handle patterns in destructured literals (#8871) 2 years ago
jsconfig.json chore: playground (#8648) 2 years ago
package.json chore: upgrade dependencies (#8827) 2 years ago
start.js fix: @html mismatch in hydration 1 year ago

README.md

You may use this package to experiment with your changes to Svelte.

To prevent any changes you make in this directory from being accidentally committed, run git update-index --skip-worktree ./**/*.* in this directory.

If you would actually like to make some changes to the files here for everyone then run git update-index --no-skip-worktree ./**/*.* before committing.

If you're using VS Code, you can use the "Playground: Full" launch configuration to run the playground and attach the debugger to both the compiler and the browser. This will SSR the component and then also hydrate it on the client side using rollup to bundle any other imports.

You can also just compile the App.svelte file by running node compile.js if you'd like to check some compiler behaviour in isolation.