Basti Ortiz
bf80c10625
docs: clarify example on dynamic dependency tracking ( #13767 )
...
* docs(effect): clarify example on dynamic dependency tracking
* use an if block, it's clearer
* fix
* toggle
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
2 months ago
Rich Harris
ce2566d4c4
docs: simplify `$effect.tracking()` docs ( #14939 )
2 months ago
Rich Harris
19038d19cb
docs: add section on update propagation ( #14938 )
2 months ago
Simon H
a1f371e786
docs: add code of files being tested ( #14925 )
...
* docs: add code of files being tested
closes #14900
* fix
* Apply suggestions from code review
Co-authored-by: Rich Harris <rich.harris@vercel.com>
* Update documentation/docs/07-misc/02-testing.md
Co-authored-by: Rich Harris <rich.harris@vercel.com>
* Apply suggestions from code review
Co-authored-by: Rich Harris <rich.harris@vercel.com>
* rename import
* from https://github.com/sveltejs/svelte.dev/pull/1094
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
2 months ago
ottomated
793f6f3b11
add note about svelte/elements to $props docs ( #14829 )
2 months ago
Dominic Gannaway
5483495c8d
feat: add $inspect.trace rune ( #14290 )
...
* feat: add $trace rune
WIP
WIP
WIP
WIP
WIP
WIP
WIP
WIP
WIP
WIP
WIP
WIP
WIP
WIP
WIP
WIP
WIP
WIP
WIP
WIP
* lint
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* more tweaks
* lint
* improve label for derived cached
* improve label for derived cached
* lint
* better stacks
* complete redesign
* fixes
* dead code
* dead code
* improve change detection
* rename rune
* lint
* lint
* fix bug
* tweaks
* Update packages/svelte/src/internal/client/dev/tracing.js
Co-authored-by: Rich Harris <rich.harris@vercel.com>
* Update packages/svelte/src/internal/client/dev/tracing.js
Co-authored-by: Rich Harris <rich.harris@vercel.com>
* Update packages/svelte/src/internal/client/dev/tracing.js
Co-authored-by: Rich Harris <rich.harris@vercel.com>
* Update packages/svelte/src/internal/client/dev/tracing.js
Co-authored-by: Rich Harris <rich.harris@vercel.com>
* todos
* add test + some docs
* changeset
* update messages
* address feedback
* address feedback
* limit to first statement of function
* remove unreachable trace_rune_duplicate error
* tweak message
* remove the expression statement, not the expression
* revert
* make label optional
* relax restriction on label - no longer necessary with new design
* update errors
* newline
* tweak
* add some docs
* fix playground
* fix playground
* tweak message when function runs outside an effect
* unused
* tweak
* handle async functions
* fail on generators
* regenerate, update docs
* better labelling
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
3 months ago
Paolo Ricciuti
d5a28a01a1
docs: fix typo in `$state` ( #14535 )
3 months ago
Rich Harris
87863da6ff
docs: how to javascript ( #14528 )
3 months ago
Rich Harris
8ad9295535
docs: hints on preserving reactivity ( #14514 )
3 months ago
Ahmad S.
304d88edd0
docs: fix `$effect` section examples ( #13911 )
...
closes #13912
5 months ago
Rich Harris
96c299afc6
differentiate between 'effect' and `$effect` ( #14105 )
5 months ago
Rich Harris
6a2c28c590
docs: tweak untrack description, provide an example of usage ( #14085 )
...
* docs: tweak untrack description, provide an example of usage
* link to untrack
* add derived docs too
5 months ago
Rich Harris
9cd476881d
fix props docs ( #14079 )
5 months ago
Bernie Sumption
217ef2062d
docs: clarify when prop values are deeply reactive ( #13994 )
...
* Update $props documentation to clarify when prop values are deeply reactive
* Update 05-$props.md
* Apply suggestions from code review
* drive-by-fixes
---------
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
5 months ago
gubo97000
0efe031edc
Update 07-$inspect.md ( #14048 )
...
moved note to top
5 months ago
Conduitry
6ad8240464
docs: fix various typos in reference docs ( #14011 )
...
* docs: fix note about $derived
* fix some other typos
* revert one change
* emdash tweak
5 months ago
Stephane
feb2d85f46
docs: clarify why we need to use the derived rune ( #13919 )
...
* clarify why we need to use the derived rune
* put clarification as note
5 months ago
Conduitry
107be28890
docs: fix outdated $effect.tracking() demo ( #13906 )
5 months ago
brunnerh
69f6b58bd4
docs: Reference `svelte/reactivity` from `$state`. ( #13571 )
5 months ago
brunnerh
708fd9c4be
docs: fix various typos ( #13801 )
5 months ago
Conduitry
dbba2b0d27
docs: fix demo links to playground ( #13788 )
5 months ago
Rich Harris
4f6bb41030
More docs stuff ( #13769 )
...
* fix
* link
* more docs stuff
* more
* more
* fix
* more
* more
* fix
* fix
* more
* ffs
* FML
5 months ago
Simon H
4c7cfff434
docs: legacy docs ( #13756 )
...
* docs: legacy docs
add docs on old syntax
* rename section
* tweaks
* tweak
* tweaks
* tweaks
* tweaks
* fix link
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
5 months ago
Rich Harris
fd78385447
chore: restructure docs for new site ( #13699 )
5 months ago