Live data from Hacker News

Rich Harris joins Vercel to work on Svelte full time

twitter.com

171–180 of 571 posts

Re: Rich Harris joins Vercel to work on Svelte full time

#171

Earlier quoted context omitted.

react native can definitely ship production ready applications that large teams work on. bundler problems arent even react native related.. theyre webpack/babel etc. Package management? how is that related to RN?

Because you never have to deal with that stuff in mobile apps unless you use react native? So sure maybe it’s not directly react native’s fault but it is an issue.

you will always have to manage dependencies somehow. Maybe you prefer the model used by flutter or something, thats preference. Its not a matter of whether of one is unsustainable or not. react native is fine for professional or hobby projects. even if you have problems with babel/webpack/etc bundle server (which btw can be worked around using inline bundling...)

Re: Rich Harris joins Vercel to work on Svelte full time

#172

So I'm a backend engineering, but have experience with Vue.js and like it. Why would I want to rethink that and try out Svelte? Reading about svelte the main advantage seems to be everything building to raw JS making it faster. Questions: Is there typescript support? I would assume, but... Does this end up with smaller bundles/js files? Any other major advantages? From some reading syntax seems pretty similar to Vue…

1. Yes there is typescript support.

2. Compared to React yes, because Svelte ships no runtime (or at least a very minimal one). There is a curve though, and very large apps (in the hundreds of components) will eventually be overtaken by something like Preact or vue.

3. No runtime means no restrictions on what they include in the framework. They take full advantage of Svelte being a compiler and include things like complex state management in the form of stores, a built-in transition/animation system with support for springs. Also the included syntax is extremely concise, if you're familliar with vue it'll be fairly easy to pick up.

Re: Rich Harris joins Vercel to work on Svelte full time

#173
post #110

i just started rebuilding my personal site with nextjs but the enthusiasm here is pushing me to try svelte for the first time.. guess ill have to take a look at the feature list

It is really worth it. Svelte is sooooo much better than React. Believe me, I was one of the skepticals about the entire SPA thing but after trying Svelte I think my problem was with React, not with the concept per se.

i dont actually have any problem with react, but im definitely open to new things this thread reveals to me that this Rich character has some useful information i should look into.

Re: Rich Harris joins Vercel to work on Svelte full time

#174
post #80
post #65

Earlier quoted context omitted.

Yeah, rewriting it with Electron + Svelte + a Rust backend for the heavy lifting. I looked at alternatives to Electron because I wanted to avoid the bloat, but nothing felt like the right fit. Tauri ( https://tauri.studio/ ) is the most exciting, but I couldn't find a good way to get raw video frames into the UI without a bunch of expensive copies or serialization. I also looked at native toolkits like Qt (I've worke…

Did you look at .Net solutions like Maui, xamarin, uno platform, or AvaloniaUI?

My thought process was, if I’m gonna have to rewrite the app, I may as well use the web dev skills I already have, so that at least the UI work will be in my wheelhouse. Rust is new to me, as is low-level ffmpeg stuff, both of which I’ve had to learn from scratch.

I learned Swift in order to build the Mac app, and I know from that experience that building custom UI controls while learning a new ecosystem slowed me down a lot. I didn’t love the idea of repeating that experience, and where I’m headed there’s gonna be a good bit of custom UI.

Re: Rich Harris joins Vercel to work on Svelte full time

#175
post #79

Cloudflare will regret not having a developer go-to framework for their advanced Worker stuff one day. I think they are waiting for someone else to build for it which is IMO the completely wrong approach for the dream of the serverless app. You got to own the full stack including software. I can easily see Vercel becoming the pretty much only go-to in this space just from the developer trust they have created with Ne…

Denoflare ( https://news.ycombinator.com/item?id=29142772 ) is compelling.

Do you have experience with denoflare? I really would like to try it, but I can't even get the basic `hello-worker` sample working, see https://github.com/skymethod/denoflare/issues/2

Re: Rich Harris joins Vercel to work on Svelte full time

#177
post #65

Earlier quoted context omitted.

Yeah, rewriting it with Electron + Svelte + a Rust backend for the heavy lifting. I looked at alternatives to Electron because I wanted to avoid the bloat, but nothing felt like the right fit. Tauri ( https://tauri.studio/ ) is the most exciting, but I couldn't find a good way to get raw video frames into the UI without a bunch of expensive copies or serialization. I also looked at native toolkits like Qt (I've worke…

> without the benefit of HTML + CSS Are you referring to ease in complexity of creating components compared to the alternatives? Because I end up with the same choice when sieving frameworks to use crossplatform. But I've been looking nto Flutter recently, although it's still in beta, it has potential.

Yeah. I talked about this in another reply but I’ve had mostly web development experience over the past few years and UI work is familiar. I didn’t love the idea of having the entire tech stack being unfamiliar. (I’m already new to Rust and ffmpeg/video stuff)

Re: Rich Harris joins Vercel to work on Svelte full time

#178

Well, this is awesome -- but fuck me: Vue is the only major player not under the Vercel umbrella now, haha. Looks like I might have to phone in half a decade of experience. Svelte is close enough to Vue with "script setup" mode anyways, the major difference is whether your logic/keywords go INSIDE the HTML tags or OUTSIDE. Svelte doesn't support JSX/TSX though =(

> Svelte doesn't support JSX/TSX though =(

It actually supports the next best thing: HTML!

Now in all seriousness, JSX does have its benefits like being able to write a small function that returns a piece of JSX. But in my experience, using Svelte is a huge productivity booster than I don't mind losing JSX's benefits.

Re: Rich Harris joins Vercel to work on Svelte full time

#179
post #118

Am I the only one? Next just bought its biggest upcoming competitor—SvelteKit. Next is the best that React has to offer but it still has flaws. Svelte and SvelteKit are so awesome you cannot believe it before you've built something bigger and so much ahead of the entire React ecosystem. We migrated a huge/complex React app in a month and the difference is night and day (performance/bundle size/dev productivity). Reac…

I built this to avoid this exact problem: https://github.com/cheatcode/joystick.

No desire to be acquired (open to investment but that's it), just build a business around accompanying features/services.

Goal is fast, simple, and friendly regardless of your skillset. No lock-in as the entire thing is a thin abstraction over Node.js/Express.js and components are built using plain HTML, CSS, and JS (no special languages or syntax). Also adding in a lot of helper stuff so you're not stuck cobbling together random packages for common stuff (i18n, form validation, etc).

Feel free to email me if you or your team have questions: ryan.glover@cheatcode.co.

Re: Rich Harris joins Vercel to work on Svelte full time

#180
post #112
post #3

This seems like a huge positive step forward for Svelte and the community. Big congrats to Rich! I've been excited about Svelte for a while and recently chose to use it as the UI for a cross-platform video editing app ( https://getrecut.com ), with the back end in Rust. I've found it a pleasure to work with -- Svelte Stores and the Context system are especially great for sharing state, and the app feels snappy. Last…

> I was able to step through the compiled Svelte component code and narrow it down to one of my own functions. This is the best part about next-gen frontend frameworks. We can go back to having a stack trace uncluttered by layers of asynchronous abstractions.

Love me some good old synchronous code! :D
Post reply on HN