4 ms·
> Any highlight(s) regarding positive/negative experiences that you had with Svelte so far? Sveltekit was a bit of a pain to get running, but using svelte itse
by com2kid 5y ago
> Any highlight(s) regarding positive/negative experiences that you had with Svelte so far?
Sveltekit was a bit of a pain to get running, but using svelte itself has been insanely nice. I got an entire internal website up and running with a bunch of cool functionality in ~3 days. The state management with Redux alone would have taken that long if I was using React.
Being able to just use regular HTML is also nice.
There are some gotchas, how it handles CSS is kinda weird, and docs beyond the basics are rough in places.
- zepearl 5y agoThank you! :)
- westoncb 5y agoJust fyi, there is no need to use Redux just because you're using React. If it's a pretty simple case, you can use the built in `useReducer`[0]. Or if you want something that'll scale but that's much more lightweight than Redux, I'd recommend Zustand[1]. [0] https://reactjs.org/docs/hooks-reference.html#usereducer https://reactjs.org/docs/hooks-reference.html#usereducer [1] https://github.com/pmndrs/zustand https://github.com/pmndrs/zustand
- lIIIllllIIII 5y agoZustand looks so nice. I wanted to create my own state management library just for fun and spent a while brainstorming it and then ran into Zustand which basically does exactly what I wanted (but has presumably been developed by people who know what they're doing_
- girvo 5y agoAmen. We've entirely just used `useReducer` in combo with `useContext` where needed, and its been brilliant (this is a 100k LOC React app)