Rich Harris
b629d6e25f
Combine context-vs-stores with reactivity explanation
5 years ago
Rich Harris
c48d3456f7
Update text.md
5 years ago
Rich Harris
9d90272966
Make point about referential equality more concisely
5 years ago
vages
78eaf77a65
Elaborate on key equality
...
Readers unfamiliar with the concept of object equality in Javascript may have a hard time understanding why using keys as a reference is safe. So I elaborated a little on it.
Also, I changed the "context is not reactive" part into a section of its own, deleting the word "Remember" from the opening. I couldn't remember it from previously on this page or in the tutorial, so I think it may be a leftover from a previous version of the tutorial.
5 years ago
vages
f2aa0f279e
Explain difference between contexts and stores
...
I had a problem understanding why you would want to use a context when you can just use a store. This is what I've gathered after reading a bit about them.
5 years ago
pngwn
fcfad5ae6b
Document that context is not reactive. ( #3296 )
5 years ago
Richard Harris
729fc4e891
link directly to event modifier tutorial
5 years ago
Philipp_Lypniakov
b3b830d21a
Update text.md
...
Added a suggestion for a user to add the preventDefault modifier so they could press any key uninterrupted by the default behavior of a key or key combination.
5 years ago
Rich Harris
68c8030d08
Merge pull request #3121 from Ding-Fan/patch-2
...
change "item" to "thing"
5 years ago
范鼎
b9cdadcd22
change "item" to "thing"
...
The text in the button is "Remove first thing".
5 years ago
mellisdesigns
39760b70f8
documentation - binding this remove 256 canvas size
5 years ago
Rich Harris
820490fb4d
add a tutorial chapter
5 years ago
igoradamenko
5d51d50613
site: reuse `layers` variable in window bindings tutorial
5 years ago
Richard Harris
9754f2a817
take code block out of blockquote
6 years ago
Richard Harris
44489c9ccb
Merge branch 'patch-1' of https://github.com/Karsten7/svelte into Karsten7-patch-1
6 years ago
Rich Harris
0dde4f51e0
Update text.md
6 years ago
Rich Harris
6a388a9f86
Merge pull request #2922 from gabysantosw/patch-2
...
Ending alt text with a period
6 years ago
Rich Harris
df632ca71e
change to sentence
6 years ago
Rich Harris
535d668516
Change text to a sentence, since we're ending it with a period
6 years ago
gabysantosw
b4d46ea60d
Ending alt text with a period
6 years ago
gabysantosw
f9c3d99b34
Ending alt text with a period
...
Added a period at the end of the alt text example, recently learned that it improves UX for screen-reader users as it provides a pause.
6 years ago
Richard Harris
d07feba638
use better eliza package
6 years ago
Karsten 7
6d59a40a62
Add implementation for the given tutorial example
6 years ago
Richard Harris
0d7f6fb795
flesh out in/out transition tutorial chapter ( #2792 )
6 years ago
Conduitry
2f80667f20
site: actions tutorial: destroy is not required ( #2776 )
6 years ago
Conduitry
011b33181e
site: fix immutable tutorial and example on Firefox ( #2601 )
6 years ago
Rich Harris
b64f570e2e
Merge pull request #2739 from membranophonist/patch-1
...
Replace tag with attribute for alt
6 years ago
Rich Harris
26a67a6ac4
Update text.md
6 years ago
Daniel J. Wilson
66a4c1a9bc
Pluralize elements
6 years ago
Daniel J. Wilson
5e8383cf37
Replace tag with attribute for alt
...
Being an attribute, alt should be mentioned as such.
6 years ago
Conduitry
80fe0e9cdb
site: add /chat redirect to Discord ( #2708 )
6 years ago
Rich Harris
7bf207f825
Update text.md
6 years ago
Lode Claassen
1df741a374
clarify when sanitization is done and when not
6 years ago
Conduitry
d0d54b792a
update links to new Sapper site
6 years ago
Scotty Simpson
d53fd611f3
clarify autosubscription scope requirement ( #2653 )
6 years ago
raveling
511060ba94
improve referencing to code editor for mobile readers ( #2632 )
...
* improve referencing to code editor for mobile readers
The current documentation mentions "to the right" which is not accurate for people reading the tutorial on narrow-viewport devices.
I changed it to "the code editor", but this may be improved upon to match other more common references.
* typo
6 years ago
Vidar Tysse
1ba42435ac
Typo
6 years ago
Emil Tholin
5ab4a6c2f8
Fix typo in 10-transitions/07-local-transitions/text.md
6 years ago
Kevin McGee
2d5b27b643
For want of a word...
...
_as_ you like it...
6 years ago
Rich Harris
bf51befb54
Merge pull request #2558 from enstyled/patch-1
...
Update tutorial video chapter assets URLs with HTTPS
6 years ago
Eric Brookfield
1d61e48490
e.g. -> for example
...
*E.g.* is an English language idiom that can be said in a plainer way, easier for non-native speakers to understand.
Personal preference is to use plainer language when possible, but I wouldn't be offended if this were rejected.
6 years ago
Emil Nikov
a3378466d3
Update assets URL in the code snippet
...
The assets are not loading when copy/pasting it in the editor, due to protocol mismatch.
6 years ago
Richard Harris
14ece6e789
simplify example further
6 years ago
Richard Harris
5c06d5ecf5
Merge branch 'patch-3' of https://github.com/CreaturesInUnitards/svelte into CreaturesInUnitards-patch-3
6 years ago
Allan Tito
e1b2d5dc28
Update text.md, line 34 ( #2541 )
...
* Added comma
* Update text.md; added comma
6 years ago
Allan Tito
0d5c2466a7
Added comma
6 years ago
Scotty Simpson
9268db7338
simpler, more efficient example
6 years ago
Jesse Wicks
57735d4982
fix tutorial link
6 years ago
Scotty Simpson
96e3df1c79
typo
...
I'm very helpful
6 years ago
Jon Ross
bf6bd36e38
Update alt text to clarify "shorthand attributes"
...
Alternatively, `alt="A man dancing"` could also be removed with no detrimental side effects IMO.
6 years ago
Conduitry
e039cabbaa
site: fix another link ( #2497 )
6 years ago
rqrqrqrq
bda6aff09c
Docs fix ( #2488 )
6 years ago
Richard Harris
115d10bd18
update references to svelte.technology - fixes #2450
6 years ago
Gabswim
0b706e24cb
typo in tutorial
6 years ago
Richard Harris
6ad3c560a2
update tutorial for keyed each blocks
6 years ago
Rich Harris
bb10298f2c
update animate chapter
6 years ago
Richard Harris
b1737503f0
start updating deferred transition chapter
6 years ago
Rich Harris
f04225fa0f
document local transitions
6 years ago
Rich Harris
b815ac7be9
document store bindings and $foo += 1
6 years ago
Rich Harris
d6d9a5ee01
Merge pull request #2425 from sveltejs/gh-2423
...
update svelte:options tutorial chapter, remove example
6 years ago
Rich Harris
ab84aeef11
update svelte:options tutorial chapter, remove example
6 years ago
Rich Harris
d66b1d9a1e
tweak copy
6 years ago
Rich Harris
b176f9370a
add tutorial chapter for mutations - fixes #2243
6 years ago
Rich Harris
c5b401254c
Update examples and thumbnails
6 years ago
Richard Harris
520f69f7cb
document the accessors option - closes #2382
6 years ago
Luca Bonavita
c474007c88
Add link to Mozilla docs about events bubbling and capture phase
...
Fixes #2393
6 years ago
Conduitry
a605daceaa
derived docs fix
6 years ago
Conduitry
6e46a18969
rename `derive` to `derived`
6 years ago
Richard Harris
56b6fb0607
fix readable examples in tutorial
6 years ago
Rich Harris
6ccd66468c
remove unused ctx/running variables
6 years ago
Rich Harris
68d6793c97
remove unused ctx/running variables
6 years ago
Hunter Perrin
94594eb298
Merge pull request #1 from hperrin/patch-2
...
Remove unused r variable.
6 years ago
Hunter Perrin
19f68f358b
Remove unused r variable.
6 years ago
Hunter Perrin
a85cc349b8
Remove unused r variable.
6 years ago
Richard Harris
143117054a
Merge branch 'master' of github.com:sveltejs/svelte
6 years ago
Richard Harris
200b82d8d0
add playbackRate to list of bindings in tutorial
6 years ago
Rich Harris
4be340bb57
fix example code
6 years ago
James
e76b9e779a
reverse readable stores arg order, fixes #2330
6 years ago
Brad Dougherty
1b3320d765
Update media urls to https
6 years ago
Richard Harris
771d9eed06
update/remove some more stuff
6 years ago
Rich Harris
4541d58798
Add a tutorial ( #2132 )
6 years ago