Benjamin Schachter: Learn Svelte Using React
This was recorded for https://www.sveltesummit.com but unfortunately didn't make it in due to some technical issues so we're releasing it as a bonus episode!
Description:
Let's use mental models we already know to learn Svelte.
Link:
https://twitter.com/benschac
https://www.cs.virginia.edu/~robins/YouAndYourResearch.html
https://www.youtube.com/watch?v=AdNJ3fydeao&feature=youtu.be&t=49 (Rich Harris Talk)
https://svelte.dev/repl/8459f766b4de4e08928d321c65981b5c?version=3.29.0
https://codesandbox.io/s/fast-violet-sm634?file=/src/App.js (before updates)
https://codesandbox.io/s/adoring-ellis-mihhr (after updates)
https://svelte.dev/repl/8459f766b4de4e08928d321c65981b5c?version=3.29.0 (react perf in svelte)
https://svelte.dev/tutorial/keyed-each-blocks (tutorial keyed each block)
https://codesandbox.io/s/sleepy-lovelace-x3fdw?file=/src/App.js:89-134 (React, keyed each block -- example from svelte)
https://github.com/sveltejs/svelte/pull/5225 (documenation PR)
https://www.youtube.com/watch?v=t8svxxtUTl8 (Ken Wheeler Perf Talk)
https://kentcdodds.com/blog/how-i-teach
https://www.amazon.com/Make-Stick-Science-Successful-Learning