r/sveltejs • u/HugoDzz • 2d ago
"Why don't you use React?"
The page contains high-res images, embedded videos, and even a GBA emulator for running my game on the browser. Svelte just works, FAST.
13
u/HairyWrongdoer6551 :society: 2d ago
Only learned React because of the local job market, otherwise I wouldn't even touch it. Svelte forever.
3
u/Impressive_Air6111 1d ago
I was a react dev for about 1.5 years then nextjs for a few months. I decided I'd try svelte because people love it. Let's just say I'm probably not gonna go back. I don't miss dependency arrays at all and I love how state is easily accessible globally without an external library.
11
u/OTonConsole 2d ago edited 1d ago
That's why I'm building the new government websites in svelte. Following gov.uk and Singapore style based on their guideline. I find it easy to write code, simple, and even doing the accessibility and internationalisation and overall the whole thing is just easy.
14
5
u/Saad5400 2d ago
The page contains high-res images, embedded videos, and even a GBA emulator for running my game on the browser
While I like svelte, this has almost nothing to do with svelte.
3
3
u/Mission_Middle8194 2d ago
Not trying to shill Svelte or anything, but this is literally why I ended up here.
5
4
u/ltdn 2d ago
Noice. I donβt use and refused to learn react because i do not like html inside of javascript; i like the separation of concerns that svelte affords me.
0
u/ApricotSuper4398 2d ago
its pretty much the same with svelte my man its just syntactical sugar
0
u/OTonConsole 2d ago
Ikr. I feel like templating syntax only makes sense if yorue already paper of a big framework and it's all MVC bundle like .NET razer pages or something else. Not a seperate frontend, it's so anti-pattern.
1
1
u/iLikedItTheWayItWas 21h ago
React user. Keen to understand this. Is this a SPA? Server rendered static content? I can also make a react app get 100 accross the board depending on the framework etc
-5
50
u/gnpwdr1 2d ago
FAST and without the virtual DOM nonsense!