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/test/runtime/samples
Rich Harris 16ccb62f6c
more conservative if block updates
5 years ago
..
action
action-custom-event-handler
action-custom-event-handler-in-each
action-custom-event-handler-in-each-destructured
action-custom-event-handler-node-context
action-custom-event-handler-this
action-custom-event-handler-with-context
action-function
action-ternary-template
action-this
action-update
after-render-prevents-loop
after-render-triggers-update
animation-css fix test 5 years ago
animation-js
animation-js-delay
animation-js-easing
array-literal-spread-deopt
assignment-in-init
assignment-to-computed-property
attribute-boolean-false
attribute-boolean-indeterminate
attribute-boolean-true
attribute-casing
attribute-dataset-without-value
attribute-dynamic
attribute-dynamic-multiple
attribute-dynamic-no-dependencies
attribute-dynamic-quotemarks
attribute-dynamic-shorthand
attribute-dynamic-type
attribute-empty
attribute-empty-svg
attribute-false failing SSR test, plus some adjacent changes 5 years ago
attribute-namespaced
attribute-null failing SSR test, plus some adjacent changes 5 years ago
attribute-null-classname-no-style failing SSR test, plus some adjacent changes 5 years ago
attribute-null-classname-with-style failing SSR test, plus some adjacent changes 5 years ago
attribute-null-classnames-no-style failing SSR test, plus some adjacent changes 5 years ago
attribute-null-classnames-with-style failing SSR test, plus some adjacent changes 5 years ago
attribute-null-func-classname-no-style failing SSR test, plus some adjacent changes 5 years ago
attribute-null-func-classname-with-style failing SSR test, plus some adjacent changes 5 years ago
attribute-null-func-classnames-no-style failing SSR test, plus some adjacent changes 5 years ago
attribute-null-func-classnames-with-style failing SSR test, plus some adjacent changes 5 years ago
attribute-partial-number
attribute-prefer-expression
attribute-static
attribute-static-at-symbol
attribute-static-boolean
attribute-static-quotemarks
attribute-undefined failing SSR test, plus some adjacent changes 5 years ago
attribute-unknown-without-value
attribute-url
autofocus
await-component-oncreate
await-containing-if
await-in-dynamic-component prevent dynamic components being detached twice - fixes #3113 5 years ago
await-in-each
await-in-removed-if prevent await block mounting inside removed if block - fixes #1496 5 years ago
await-set-simultaneous
await-then-catch
await-then-catch-anchor
await-then-catch-event
await-then-catch-if
await-then-catch-in-slot
await-then-catch-multiple
await-then-catch-no-values
await-then-catch-non-promise
await-then-catch-order
await-then-catch-static
await-then-shorthand
await-with-components
before-render-chain
before-render-prevents-loop
binding-audio-currenttime-duration-volume
binding-circular handle circular values when rendering bindings - fixes #2135 5 years ago
binding-contenteditable-html
binding-contenteditable-html-initial
binding-contenteditable-text
binding-contenteditable-text-initial
binding-details-open
binding-indirect
binding-indirect-computed
binding-input-checkbox
binding-input-checkbox-deep-contextual
binding-input-checkbox-deep-contextual-b
binding-input-checkbox-group
binding-input-checkbox-group-outside-each
binding-input-checkbox-indeterminate
binding-input-checkbox-with-event-in-each
binding-input-number
binding-input-radio-group
binding-input-range
binding-input-range-change
binding-input-text
binding-input-text-contextual
binding-input-text-contextual-deconflicted
binding-input-text-contextual-reactive
binding-input-text-deconflicted
binding-input-text-deep
binding-input-text-deep-computed
binding-input-text-deep-computed-dynamic
binding-input-text-deep-contextual
binding-input-text-deep-contextual-computed-dynamic
binding-input-with-event
binding-select
binding-select-implicit-option-value
binding-select-in-each-block
binding-select-in-yield
binding-select-initial-value
binding-select-initial-value-undefined
binding-select-late
binding-select-multiple
binding-select-optgroup
binding-store
binding-store-deep
binding-textarea
binding-this
binding-this-and-value
binding-this-component-computed-key
binding-this-component-each-block
binding-this-component-each-block-value
binding-this-component-reactive
binding-this-each-block-property Fix contextual bind:this (#2806) 5 years ago
binding-this-each-block-property-component Fix contextual bind:this (#2806) 5 years ago
binding-this-element-reactive
binding-this-element-reactive-b update bind:this references when setting to null - fixes #2034 5 years ago
binding-this-no-innerhtml
binding-this-unset
binding-this-with-context
binding-using-props
bindings-before-onmount
bindings-coalesced
class-boolean
class-helper
class-in-each
class-shortcut
class-shortcut-with-class
class-with-attribute
class-with-dynamic-attribute
class-with-dynamic-attribute-and-spread [Test] Add test for class directive with spread attributes 5 years ago
class-with-spread [Test] Add test for class with spread attributes 5 years ago
component
component-binding
component-binding-blowback
component-binding-blowback-b
component-binding-blowback-c
component-binding-blowback-d
component-binding-blowback-e
component-binding-blowback-f
component-binding-computed
component-binding-conditional
component-binding-conditional-b
component-binding-deep
component-binding-deep-b
component-binding-each
component-binding-each-nested
component-binding-each-object
component-binding-infinite-loop
component-binding-nested
component-binding-non-leaky
component-binding-parent-supercedes-child
component-binding-parent-supercedes-child-b
component-binding-parent-supercedes-child-c
component-binding-private-state
component-binding-self-destroying
component-data-dynamic
component-data-dynamic-late
component-data-dynamic-shorthand
component-data-empty
component-data-static
component-data-static-boolean
component-data-static-boolean-regression
component-event-handler-modifier-once
component-event-not-stale
component-events
component-events-console
component-events-data
component-events-each
component-if-placement
component-name-deconflicted
component-name-deconflicted-globals
component-namespaced
component-nested-deep
component-nested-deeper
component-not-void
component-ref
component-shorthand-import
component-slot-binding-dimensions-destroys-cleanly update #1844 test for v3 5 years ago
component-slot-chained
component-slot-default
component-slot-dynamic
component-slot-each-block
component-slot-empty
component-slot-empty-b
component-slot-fallback
component-slot-if-block
component-slot-if-block-before-node
component-slot-if-else-block-before-node
component-slot-let
component-slot-let-aliased
component-slot-let-b
component-slot-let-c
component-slot-let-d
component-slot-let-destructured
component-slot-let-e Pass hoisted values through to slots (#3124) 5 years ago
component-slot-let-f failing test for #3354 5 years ago
component-slot-let-in-binding WIP solution for #1340 5 years ago
component-slot-let-named
component-slot-let-static
component-slot-name-with-hyphen
component-slot-named
component-slot-named-b
component-slot-named-c
component-slot-named-inherits-default-lets
component-slot-names-sanitized
component-slot-nested
component-slot-nested-component
component-slot-nested-in-element
component-slot-spread-props
component-slot-static-and-dynamic
component-slot-used-with-default-event
component-static-at-symbol
component-template-inline-mutation
component-yield
component-yield-follows-element
component-yield-if
component-yield-multiple-in-each
component-yield-multiple-in-if
component-yield-nested-if
component-yield-parent
component-yield-placement
component-yield-static
context-api
context-api-b
contextual-callback
contextual-callback-b
css
css-comments
css-false
css-space-in-attribute
custom-method
deconflict-builtins
deconflict-component-name-with-global
deconflict-component-name-with-module-global
deconflict-component-refs
deconflict-contexts
deconflict-elements-indexes
deconflict-globals
deconflict-non-helpers
deconflict-self
deconflict-template-1
deconflict-template-2
deconflict-value
deconflict-vars
default-data
default-data-function
default-data-override
destroy-twice
destructuring
destructuring-assignment-array
dev-warning-destroy-twice
dev-warning-helper
dev-warning-missing-data
dev-warning-missing-data-binding
dev-warning-missing-data-component
dev-warning-missing-data-each
dev-warning-missing-data-excludes-event
dev-warning-readonly-computed
dev-warning-readonly-window-binding
dev-warning-unknown-props
dev-warning-unknown-props-with-$$props
dev-warning-unknown-props-with-$$scope
document-event
dynamic-component
dynamic-component-bindings
dynamic-component-bindings-recreated
dynamic-component-bindings-recreated-b
dynamic-component-destroy-null
dynamic-component-events
dynamic-component-in-if
dynamic-component-inside-element
dynamic-component-nulled-out
dynamic-component-nulled-out-intro check for existence of switch instance before introing - fixes #3054 5 years ago
dynamic-component-ref
dynamic-component-slot
dynamic-component-update-existing-instance
each-block
each-block-array-literal
each-block-component-no-props actually this test should fail 5 years ago
each-block-containing-component-in-if
each-block-containing-if
each-block-deconflict-name-context
each-block-destructured-array
each-block-destructured-array-sparse
each-block-destructured-object
each-block-destructured-object-binding
each-block-destructured-object-rest
each-block-dynamic-else-static
each-block-else
each-block-else-in-if fix placement of each-else block, and clarify node references in source - fixes #2917 5 years ago
each-block-else-mount-or-intro
each-block-else-starts-empty
each-block-empty-outro
each-block-function
each-block-in-if-block
each-block-index-only
each-block-indexed
each-block-keyed
each-block-keyed-dynamic
each-block-keyed-empty
each-block-keyed-html failing test for #3285 5 years ago
each-block-keyed-html-b correctly set mount anchor for HTML tags - fixes #2711 5 years ago
each-block-keyed-nested prevent outro groups getting muddled up - fixes #2086 5 years ago
each-block-keyed-non-prop
each-block-keyed-object-identity
each-block-keyed-random-permute
each-block-keyed-recursive Rename main.html to main.svelte 5 years ago
each-block-keyed-shift
each-block-keyed-siblings
each-block-keyed-static
each-block-keyed-unshift
each-block-random-permute
each-block-scope-shadow
each-block-static
each-block-text-node
each-blocks-expression
each-blocks-nested
each-blocks-nested-b
element-invalid-name
element-source-location
empty-style-block
escape-template-literals
escaped-text
event-handler
event-handler-async preserve async/generator-ness of hoisted function expressions (#3179) 5 years ago
event-handler-console-log
event-handler-deconflicted
event-handler-destructured
event-handler-each
event-handler-each-context
event-handler-each-context-invalidation
event-handler-each-deconflicted
event-handler-each-this
event-handler-event-methods
event-handler-hoisted
event-handler-modifier-once
event-handler-modifier-prevent-default
event-handler-modifier-self Tests addedt for `self` modifier 5 years ago
event-handler-modifier-stop-propagation
event-handler-multiple
event-handler-removal
event-handler-sanitize
event-handler-shorthand-component
event-handler-shorthand-dynamic-component
event-handler-shorthand-sanitized sanitize names of automatically-bubbled events - fixes #2923 5 years ago
event-handler-this-methods
export-function-hoisting
flush-before-bindings
fragment-trailing-whitespace
function-expression-inline lint 5 years ago
function-hoisting
function-in-expression
get-after-destroy
globals-accessible-directly
globals-accessible-directly-process
globals-not-dereferenced
globals-not-overwritten-by-bindings
globals-shadowed-by-data
globals-shadowed-by-helpers
hash-in-attribute
head-detached-in-dynamic-component add test from gh-2086 5 years ago
head-if-block
head-if-else-block
head-if-else-raw-dynamic
head-raw-dynamic
head-title-dynamic
head-title-dynamic-simple
head-title-empty
head-title-static
hello-world
helpers
helpers-not-call-expression
html-entities
html-entities-inside-elements
html-non-entities-inside-elements
if-block
if-block-component-without-outro
if-block-conservative-update more conservative if block updates 5 years ago
if-block-else
if-block-else-conservative-update more conservative if block updates 5 years ago
if-block-else-in-each
if-block-else-partial-outro
if-block-elseif
if-block-elseif-no-else
if-block-elseif-text
if-block-expression
if-block-first
if-block-no-outro-else-with-outro
if-block-or
if-block-outro-nested-else
if-block-outro-unique-select-block-type
if-block-widget
if-in-keyed-each
ignore-unchanged-attribute
ignore-unchanged-attribute-compound
ignore-unchanged-raw
ignore-unchanged-tag
immutable-nested
immutable-option
immutable-svelte-meta
immutable-svelte-meta-false
imported-renamed-components
initial-state-assign
inline-expressions
innerhtml-interpolated-literal lint 5 years ago
input-list
instrumentation-auto-subscription-self-assignment
instrumentation-script-destructuring
instrumentation-script-loop-scope
instrumentation-script-multiple-assignments
instrumentation-script-update
instrumentation-template-destructuring
instrumentation-template-loop-scope
instrumentation-template-multiple-assignments
instrumentation-template-update
internal-state
isolated-text prevent top-level text being discarded - fixes #3027 5 years ago
lifecycle-events
lifecycle-next-tick
lifecycle-render-order onMount before first afterUpdate 5 years ago
lifecycle-render-order-for-children onMount before first afterUpdate 5 years ago
mixed-let-export
module-context
module-context-with-instance-script
mutation-tracking-across-sibling-scopes
names-deconflicted
names-deconflicted-nested
nbsp
nbsp-div fix existing lint errors 5 years ago
nested-transition-detach-each
nested-transition-detach-if-false
nested-transition-if-block-not-remounted
noscript-removal
observable-auto-subscribe
ondestroy-before-cleanup
ondestroy-deep lint 5 years ago
onmount-async
onmount-fires-when-ready
onmount-fires-when-ready-nested
onmount-sibling-order
option-without-select
paren-wrapped-expressions
preload
prop-accessors
prop-const
prop-exports
prop-not-action
prop-quoted quote props if necessary in SSR mode - fixes #3312 5 years ago
prop-subscribable
prop-without-semicolon
prop-without-semicolon-b
props
props-reactive
props-reactive-b always update reactive declarations with $$props - fixes #3286 5 years ago
raw-anchor-first-child
raw-anchor-first-last-child
raw-anchor-last-child
raw-anchor-next-previous-sibling
raw-anchor-next-sibling
raw-anchor-previous-sibling
raw-mustache-before-element add test for #3326 5 years ago
raw-mustaches more robust handling of html tags - fixes #3285 5 years ago
raw-mustaches-preserved
reactive-function distinguish between lazy and non-lazy expressions - fixes #2693 5 years ago
reactive-function-inline distinguish between lazy and non-lazy expressions - fixes #2693 5 years ago
reactive-value-coerce -> v3.8.0 5 years ago
reactive-value-function-hoist
reactive-value-function-hoist-b always bail out of hoisting on encountering local state - fixes #3044 5 years ago
reactive-value-mutate
reactive-value-mutate-const
reactive-values
reactive-values-deconflicted
reactive-values-exported
reactive-values-fixed
reactive-values-function-dependency
reactive-values-implicit
reactive-values-implicit-destructured
reactive-values-implicit-self-dependency
reactive-values-no-dependencies
reactive-values-non-cyclical
reactive-values-overwrite
reactive-values-second-order
reactive-values-self-dependency
reactive-values-self-dependency-b
reactive-values-subscript-assignment
renamed-instance-exports
script-style-non-top-level
select
select-bind-array
select-bind-in-array
select-change-handler
select-no-whitespace
select-one-way-bind
select-one-way-bind-object
select-props
self-reference
self-reference-tree
set-after-destroy
set-in-oncreate
set-in-onstate
set-in-onstate-dedupes-renders
set-null-text-node
set-prevents-loop
set-undefined-attr
shorthand-method-in-template correctly transform inline shorthand methods - fixes #2906 5 years ago
sigil-component-attribute
sigil-static-#
sigil-static-@
single-static-element
single-text-node
slot-in-custom-element
spread-component
spread-component-dynamic
spread-component-dynamic-undefined
spread-component-literal generate valid code when spreading literal into props (#3185) 5 years ago
spread-component-multiple-dependencies
spread-component-with-bind
spread-each-component
spread-each-element
spread-element
spread-element-boolean
spread-element-input
spread-element-multiple
spread-element-multiple-dependencies
spread-own-props
spread-reuse-levels reuse unchanged spread levels - fixes #3289 5 years ago
spring
state-deconflicted
store-assignment-updates
store-assignment-updates-reactive
store-auto-subscribe
store-auto-subscribe-immediate
store-auto-subscribe-immediate-multiple-vars
store-auto-subscribe-implicit
store-auto-subscribe-in-each
store-auto-subscribe-in-reactive-declaration
store-auto-subscribe-in-script
store-auto-subscribe-missing-global-script
store-auto-subscribe-missing-global-template
store-contextual
store-dev-mode-error
store-imported
store-imported-module
store-imported-module-b
store-increment-updates-reactive
store-prevent-user-declarations
store-resubscribe
store-resubscribe-b
store-resubscribe-observable add test 5 years ago
svg
svg-attributes
svg-child-component-declared-namespace
svg-child-component-declared-namespace-shorthand
svg-class
svg-each-block-anchor
svg-each-block-namespace
svg-foreignobject-namespace
svg-multiple
svg-no-whitespace
svg-slot-namespace Fix namespace for svg elements inside slots 5 years ago
svg-with-style
svg-xlink
svg-xmlns
template
textarea-children
textarea-value
transition-css-deferred-removal
transition-css-duration
transition-css-in-out-in
transition-js-aborted-outro
transition-js-aborted-outro-in-each
transition-js-args
transition-js-await-block
transition-js-context
transition-js-deferred
transition-js-deferred-b
transition-js-delay
transition-js-delay-in-out
transition-js-destroyed-before-end
transition-js-dynamic-component
transition-js-dynamic-if-block-bidi
transition-js-each-block-intro
transition-js-each-block-intro-outro
transition-js-each-block-keyed-intro
transition-js-each-block-keyed-intro-outro
transition-js-each-block-keyed-outro
transition-js-each-block-outro
transition-js-each-keyed-unchanged
transition-js-each-unchanged
transition-js-events
transition-js-events-in-out
transition-js-if-block-bidi
transition-js-if-block-in-each-block-bidi
transition-js-if-block-in-each-block-bidi-2
transition-js-if-block-in-each-block-bidi-3
transition-js-if-block-intro
transition-js-if-block-intro-outro
transition-js-if-block-outro-timeout update bind:this references when setting to null - fixes #2034 5 years ago
transition-js-if-else-block-dynamic-outro
transition-js-if-else-block-intro
transition-js-if-else-block-outro
transition-js-if-elseif-block-outro
transition-js-initial
transition-js-intro-enabled-by-option
transition-js-intro-skipped-by-default
transition-js-intro-skipped-by-default-nested
transition-js-local
transition-js-local-and-global
transition-js-local-nested-await
transition-js-local-nested-component
transition-js-local-nested-each
transition-js-local-nested-each-keyed
transition-js-local-nested-if
transition-js-nested-await
transition-js-nested-component
transition-js-nested-each
transition-js-nested-each-delete
transition-js-nested-each-keyed
transition-js-nested-each-keyed-2
transition-js-nested-if
transition-js-nested-intro
transition-js-parameterised
transition-js-parameterised-with-state
transition-js-slot
whitespace-each-block
whitespace-list
whitespace-normal
window-bind-scroll-update
window-binding-multiple-handlers
window-binding-resize
window-event
window-event-context
window-event-custom