General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
Charles M.
Fireship
comments
Comments by "Charles M." (@charlesm.2604) on "I built the same app 10 times // Which JS Framework is best?" video.
@everyhandletaken If you look into the Svelte and SolidJS compilers you already have 3 frameworks checked on the list (those 2 + React). And after that look at the bundler modules for other frameworks and you can easily integrate them into your transpiler.
2
@everyhandletaken Sure, React is the most demanded skill in web dev job offers so it makes sense. I just don't see how a transpiler would help though? We use React at the agency but almost all devs use Svelte on personal projects, it mostly comes down to customer's need. A lot of customers want React because of React Native, even if they don't plan on making a mobile app they always want the foundations for them. With CapacitorJS and Svelte Native this will soon be a problem of the past. Give it a year or two.
2
Wait till you start to have complex components, the JS object will become confusing and hard to scale. That's what I love about Svelte, not only is the speed the same as vanilla, has a templating design super easy to read and provide everything out of the box, Svelte's script tag JUST look like JS. Which is something a lot of frameworks are lacking.
1
@sufler7180 What libraries do you need that Svelte doesn't provide out of the box ?
1
@nyashachiroro2531 I'm not being negative I'm just warning a beginner about one issue he'll soon stumble onto. The composition API is as problematic as the option approach by the way, you essentially declare functions inside of functions inside of functions instead of doing it inside a JS object. Sure, it's more readable and definitely cleaner for larger scale applications but it's still spaghetti code.
1
@everyhandletaken You're describing what's known as transpiling, that already exists. It's a complex thing to build depending on what languages (especially unopinionated and untyped JS) you choose to implement but is 100% real. :)
1
@everyhandletaken Svelte Native isn't what the name suggests though, it's a community wrapper for NativeScript with Svelte support. Hybrid apps would have to use CapacitorJS, I do believe it's the best cross platform project for any framework anyway at the moment, all apps share the EXACT same codebase on Web, Android, iOS and Desktop. It's the current project by team Ionic, the new standards if you will.
1