0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-11-25 09:09:35 +01:00
Cybernetically enhanced web apps https://svelte.dev/
Go to file
Paolo Ricciuti 0f6cc2b1ed
fix: migrate events to be more inline with svelte 4 (#13362)
* fix: migrate events to be more inline with svelte 4

* fix: use function instead of action

* chore: generate types

* re-export event modifier substitutes

* chore: replace map with object

* fix: handle nullish values

* fix: use bubbler for delegated events

* chore: generate types

* chore: deprecate legacy stuff

* chore: damn type generations

* fix: implement bubble on props strategy

* chore: revert bubble as prop init but keep fix for restProps

* fix: use `passive` and `nonpassive` actions for `passive` and `nonpassive` modifiers

* chore: i swear i will setup a commit hook for generating types

* chore: update output

* tweak passive/nonpassive types to make them more compact and show up as deprecated

* make terminology more consistent with other places

* eat local, shop local, declare local

* unify name replacement stuff

* remove errant newline

* ensure modifier order is stable and matches svelte 4

* fix

* compute indent once

* joining without newlines seems to work better in common cases

* replace passive/nonpassive handlers in situ

* unused

* simplify

* simplify, remove errant spaces

* only import handlers when necessary

* changeset

---------

Co-authored-by: Rich Harris <rich.harris@vercel.com>
2024-09-24 12:15:15 -04:00
.changeset fix: migrate events to be more inline with svelte 4 (#13362) 2024-09-24 12:15:15 -04:00
.github
.vscode
benchmarking
documentation docs: Update 7guis-timer example to support SSR context (#13356) 2024-09-23 08:32:11 -04:00
packages/svelte fix: migrate events to be more inline with svelte 4 (#13362) 2024-09-24 12:15:15 -04:00
playgrounds/sandbox
sites docs: note html structure breaking change (#12991) 2024-09-19 13:38:40 -04:00
.editorconfig
.gitattributes
.gitignore
.npmrc
.prettierignore
.prettierrc
CODE_OF_CONDUCT.md
CONTRIBUTING.md
eslint.config.js
FUNDING.json
LICENSE.md
package.json chore: bump @sveltejs/eslint-config (#13288) 2024-09-17 11:45:35 -04:00
pnpm-lock.yaml chore: upgrade rollup plugins (#13369) 2024-09-23 14:33:40 -04:00
pnpm-workspace.yaml
README.md
vitest.config.js

Cybernetically enhanced web apps: Svelte

license Chat

What is Svelte?

Svelte is a new way to build web applications. It's a compiler that takes your declarative components and converts them into efficient JavaScript that surgically updates the DOM.

Learn more at the Svelte website, or stop by the Discord chatroom.

Supporting Svelte

Svelte is an MIT-licensed open source project with its ongoing development made possible entirely by fantastic volunteers. If you'd like to support their efforts, please consider:

Funds donated via Open Collective will be used for compensating expenses related to Svelte's development such as hosting costs. If sufficient donations are received, funds may also be used to support Svelte's development more directly.

Roadmap

You may view our roadmap if you'd like to see what we're currently working on.

Contributing

Please see the Contributing Guide and the svelte package for information on contributing to Svelte.

svelte.dev

The source code for https://svelte.dev lives in the sites folder, with all the documentation right here. The site is built with SvelteKit.

Is svelte.dev down?

Probably not, but it's possible. If you can't seem to access any .dev sites, check out this SuperUser question and answer.

License

MIT