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
- pleasant/enjoyable to use
- feels natural
- important point
- opinion
- turning things around / doing it differently
- difference
- comparison
- Svelte: context
- Svelte vs. React
- unfortunate defaults
- opinionated
- Svelte: store: writable
- reasonable defaults
- the little details/things
- 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)
Annotators
URL
-