I built the same app 10 times // Which JS Framework is best?
I built the same app 10 times // Which JS Framework is best?
I built a simple app with 10 different JavaScript frameworks… Learn the pros and cons of each JS framework before building your next app https://github.com/fireship-io/10-javascript-frameworks
#javascript #webdev #top10
š Resources
Full Courses https://fireship.io/courses/
Performance Benchmarks https://github.com/krausest/js-framework-benchmark
Source code https://github.com/fireship-io/10-javascript-frameworks
š Chapters
00:00 JavaScript Frameworks
00:53 1. Vanilla
04:21 2. React
07:48 3. Angular
10:15 4. Vue
12:18 5. Svelte
14:16 6. Lit
16:11 7. Stencil
17:18 8. Solid
18:35 9. Alpine
20:17 10. Mithril
š¤ Install the quiz app
iOS https://itunes.apple.com/us/app/fireship/id1462592372?mt=8
Android https://play.google.com/store/apps/details?id=io.fireship.quizapp
š„ Watch more with Fireship PRO
Upgrade to Fireship PRO at https://fireship.io/pro
Use code lORhwXd2 for 25% off your first payment.
šØ My Editor Settings
– Atom One Dark
– vscode-icons
– Fira Code Font
Angular is my favourite and i’m working on it
how do ppl remember all of these words and everything they do?
xd
Now do cycle.js
I see jquery/js clear winner if task is simple. I dislike javascript anyway.
Can you make a video about building the same app 10 times // which backend language/framework is the best? (Flask, Django, Express, Deno.js, PHP, Ruby on Rails, Rust, Golang, Java …) Would be amazing ā¤ļø
I think I learned more about web dev in this video than any other single vid I’ve ever seen
The vanilla js app has an xss exploit
2:48 PLEASE, never use innerHTML, allows the client to modify the HTML of your project, so do not use it if you do not want the site / page in production to be "hacked"
Also, remember that it doesn’t matter (almost) what JS framework you use, the matter, is that you do well what you want to do…
Building from scratch "vanilla" only ends up in becoming a framework if you’re either grossly misunderstanding the needs of the project or massively over-engineering. The whole point of doing everything from scratch is being lightweight and not hauling around mountains of bloat you don’t need. So if you were aiming for lightness over development time (the only reason you’d entertain vanilla, aside from simple incompetence) and then you end up adding mountains of bloat anyway, it just means you’re not doing your job effectively a software engineer or project manager.
Ionic
react is the best
Excellent explanation, but for me, it is necessary to put it in a lower speed to be able to assimilate all the information, the video seems to be accelerated.
It’s such a tragedy that web development ended up as the aggregate of terrible design decisions made over the years that it is.
I recommend holding Shift and then pressing the < key before watching this video.
As an Angular developer I tried really hard to switch to react but find it frustrating every time. I come from an OOP background in java that’s why. I understand why pure js developers would prefer react.
Also, there is a lot of job competition in react, whereas angular is not that common so thats an advantage if you are good at it.
Vanilla for ever š
Switched from React to Svelte after this video. Thank you š
Great
jquery has left the chat :/
Svelte wins. No comments
I had no idea that you could assign and return html syntax in JavaScript until this video!
Btw you can use JSX with mithril, and you felt it was annoying mainly because of this.
Good shit man.
Can you try elm, thatās my favourite:)
all of these javascript "frameworks" are open shlt software.
This is awesome. Thank you
When you are C++ dev by edycation and look at JS insanity .. Why we can have normal language for web development?
Angular rocks!
Like
Thanks for putting the huge amount of time and effort in making this video.
I was watching only till React. So you went from a few lines of easy to understand, straight forward vanilla JS code to a bunch of files and hundreds of lines of React specific code to do the same. LOL This is why I hate all JS frameworks. Why all JS frameworks has to be sooooo complicated and bloated?
React is a framework?
i end up using vue like how alpine is introduced here
Sorry but you completely missed the point of Mithril. First, you can totally use JSX with it but, most importantly, that there is no reactivity and all state management is done with vanilla code. It’s a similar idea to Imba. Mithril also includes a router and an http client on its 10kB, unlike the other frameworks.
I use react and svelte, both are amazing but svelte is easier I guess.
This video may just had turn me off on trying js based framework from a Laravel framework developer POV.
.
You missed Ember. That’s a pitty.
Finally! I needed this so much. This comparison helps a lot to relate to those js frameworks.
Tbh I dislike all of them. Just that I dislike vue and react the least
Java : "Runs on 3 Billion Devices…"
JavaScript : "Will create 3 Billion frameworks…"
In Lit you can do two way data binding with with the directive Live()
I will only like comments which praise Angular š. Angular is the best, nothing beats it for scalable and clean and modular application.
Vanilla’s my blood
The only thing that annoys me about React is fking Redux. Too much boilerplate code.
Svelte
So React?
js is shit, frameworks can make it better, but never good
mithril m looks like vue’s h and they both look like html generators in FRP languages (haskell, elm, etc)