4 Matching Annotations
- Mar 2021
-
www.jackfranklin.co.uk www.jackfranklin.co.uk
-
React and Svelte are very similar in many ways, but what I've found is that in all the little ways that they are different, I prefer Svelte.
-
Svelte is different in that by default most of your code is only going to run once; a console.log('foo') line in a component will only run when that component is first rendered.
-
-
Talking of context, that's much closer to the approach I take with Svelte and use a writable store.
Tags
- comparison
- opinion
- difference
- reasonable defaults
- pleasant/enjoyable to use
- the little details/things
- Svelte: store: writable
- unfortunate defaults
- feels natural
- important point
- opinionated
- Svelte vs. React
- trying to doing things the same way you did in a different library/framework (learning new way of thinking about something / overcoming habits/patterns/paradigms you are accustomed to)
- Svelte: context
- turning things around / doing it differently
Annotators
URL
-