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