can you do a video that explains server side rendering vs client side rendering vs static site regeneration vs incremental generation? Static sites vs client rendered sites are easy to understand, but the in between of all the watering/hydration generations are confusing.
Fireship is so awesome, I can't wait to look at it. Visual applications are exactly what we're building right now, and yet we don't know which stack to choose...
I strongly recommend everyone to give Vite a shot. I migrated a relatively big appilcation (263 K lines of code) from Webpack to Vite as I was taking between 3 - 4 minutes to only START the dev server. After migrating to Vite, I slashed it to 5 seconds. Note: It didn't come without its issues, such as CommonJS support and refactoring of import and require statements. But it was worth it.
Yup. Me also. Its a pain to debug the js. Also css sourcemap is broken right now. Thing i like vite is only the speed. Im using webapck mix and compilations are very slow. That's why i migrate to vite. Problem is only the sourcemaps
THANK YOU ! My god Vite is amazing. I had a pretty big Laravel / Vue3 project that took 20 minutes to npm run hot (w/ sourcemaps) and about 10 seconds every hot reloads (on a 12 core server). Now it takes about 2 seconds to boot and half a second to update. It's incredible ! This + working on a remote machine means I can have my dev website on another PC and have it reflect the changes from my IDE in less than a second. incredible !
You made me switch to TypeScript and honestly, it was such a pain for the first 3-4 days. Now, just 7 days later, I don't think I can go back to vanilla JS. AND as TS is a bit slow on my PC, I'll be sure to check Vite out. I need that fast feedback loop.
> as ts is a bit slow in my pc Sadly TSC being slow is a fact of life and we cannot change it 😩 - esbuild it fast but no checking so we still need tsc in the end pain
I put together a rails+hotwire+vite+tailwind app recently and honestly this is the easiest web dev has been in years, I feel like we're finally getting away from the mess that web dev became half a decade ago. Everything seems to be consolidating and it's making the development experience a whole lot better.
My favorite part of Vite is that the dev command results in a bundle that is different from the build command. Love finding errors after building for production. Thank you JavaScript :)
What..? Dev builds and production builds are wildly different in almost any language and toolchain. This is not specific to JavaScript and definitely not specific to Vite either.
@@JasonEfstathiou that shouldn't be the case, the code should be the same and run the same to avoid misleading bugs. It makes no sense to let the programmer think their stuff works at dev time just to throw them off at testing or production with a bug that doesn't occur in development environment
I swear, your videos need to be used by universities and colleges to get better explanations on languages and technologies. Seriously, THE best content.
I was doing WebGL2 examples with Live Server on VSCode and started running into errors importing a module, so I remembered this video and only needed the first 80 seconds to get up and running. Nice!
I hope you’re making bank and I hope you’re happy because, to many of us, you’re a god. Cheers and thanks for helping me get my programming skillset together!
Can you please do Solid.js in 100 seconds?!? You always talk about how fast and awesome it is in other videos, but have barely ANY dedicated content on it. 😟 Thanks for everything else! You ROCK! 🚀
the size of node_modules when generating a React project with Vite is also 3x lighter comapred to CRA (around 100mb vs 300mb) and the install/build times are just unbelievable
Gotta love how even the lighter vite+react is still almost 5 times the size of the Sun JVM, which comes in at about 20MB at worst. Truly a node_modules moment
@ I hate that about JS projects. Frameworks like rails store all their deps on the machine in a versionised manner, sort of like brew does. Which means your projects are in the kilobytes, since they can share the same deps. You can configure JS to do the same but its usually a pain to manage versions across diff projects
My laptop was too slow to use create react app, i started using vite some months ago- JUST LOVING IT! I'd be nice if you could make some tutorial with PWA and service worker with Vite :P
I hated react before because it was a messy install and so bloted with junk folded etc. With vite you get a clean setup that's much easier to navigate! We need more stuff like this to speed up coding
vite is amazing, when i was trying svelte i got more roll up errors than js ones, i had given up svelte once due to roll up and was about to do again but then i found vite, loving svelte and vite since
I recently tried getting into web dev with react - and immediately stopped, because I had to wait longer for compiling and bundling than with C#. Thanks for letting me know about Vite.
Thanks very much for all your videos. not watched all but all watched are awesome. Even if sometimes i do need to decrease the playspeed to follow, thats not worth an issue compared to knowledge increase.
Evan you is really a gift to the javascript world . Full respect for this guy !
can you do a video that explains server side rendering vs client side rendering vs static site regeneration vs incremental generation? Static sites vs client rendered sites are easy to understand, but the in between of all the watering/hydration generations are confusing.
Wish more likes to make this comment on top as I my self know these kind of stuff but want to see it on 🔥 🚢
Fireship is so awesome, I can't wait to look at it. Visual applications are exactly what we're building right now, and yet we don't know which stack to choose...
Honestly this was confusing but I finally got what I was working on working with some help from several fireship videos.
Yes please
SSSSSS pls do it. Maybe a 9 minute video...... Go GO GO
The man who reads our mind.
Yeah😂
Like literally
😂True
I was literally searching his channel for this yesterday.
@@samman5980 i had searched this a long before, that dqy he put a video about module bundlers...
I love that Svelte Kit uses Vite under the hood. Makes for such a good developer experience
...and Vite uses Rollup...created by Rich Harris who also created Svelte. Symbiotic or what.
Yeah it’s like a rich-evan-rich sandwich
whats the best way to init a svelte project with typescript
Love it 👌🏼
I thought Svelte Kit used Snowpack. I had read something like that on one of their blogs.
I HAVE BECOME ADDICTED TO YOUR 100 SECONDS VIDEOS, ALWAYS WAITING FOR THE NEXT
Go back to work baka
@@watynecc3309 **baka** part killed me xD
@@KImtOs *HIHIHA*
But there is already the NEXT video :)
@@emptychild2005 It was a good joke
Now I use Vite for everything, even vanilla HTML, CSS and JS. Its amazing. Great video by the way.
You need to choose vanilla in options.
What do you build with vanilla js though?
@@akj3344 to minimize the code
@Kirkstrider have you even used vite?
@@coldestbeerdo you even know what is Vanilla JavaScript?
It's impressive how 1 hour ago I read about Vite for the first time, and now this video pops up in my feed. I love this 100s videos
I think the big reason everyone is talking about Vite recently is because of how well it did in the state of JS survey
I strongly recommend everyone to give Vite a shot. I migrated a relatively big appilcation (263 K lines of code) from Webpack to Vite as I was taking between 3 - 4 minutes to only START the dev server. After migrating to Vite, I slashed it to 5 seconds.
Note: It didn't come without its issues, such as CommonJS support and refactoring of import and require statements. But it was worth it.
What it really gives beside fast server start?
Alsk what about using libraries that have been built with webpack?
I tried Vite and I didn't like how it handled sourcemaps for JS and CSS. How is your experience with it so far?
Yup. Me also. Its a pain to debug the js. Also css sourcemap is broken right now. Thing i like vite is only the speed. Im using webapck mix and compilations are very slow. That's why i migrate to vite. Problem is only the sourcemaps
I will have to migrate an application as well. could you please give me tips on how to do this correctly and as flawless as possible?
I don't know what I'll do without this channel, most of the time all I need a 100seconds clear explanation!! thanks
THANK YOU ! My god Vite is amazing. I had a pretty big Laravel / Vue3 project that took 20 minutes to npm run hot (w/ sourcemaps) and about 10 seconds every hot reloads (on a 12 core server). Now it takes about 2 seconds to boot and half a second to update. It's incredible ! This + working on a remote machine means I can have my dev website on another PC and have it reflect the changes from my IDE in less than a second. incredible !
You made me switch to TypeScript and honestly, it was such a pain for the first 3-4 days. Now, just 7 days later, I don't think I can go back to vanilla JS. AND as TS is a bit slow on my PC, I'll be sure to check Vite out. I need that fast feedback loop.
I can feel that pain you're talking about 😢 I'm on day 2 of switching to TypeScript
A few months in and you will love yourself
> as ts is a bit slow in my pc
Sadly TSC being slow is a fact of life and we cannot change it 😩 - esbuild it fast but no checking so we still need tsc in the end pain
Check SWC project
SWC also don't support typescript
this is perfect timing, I was like dude why the 100 seconds of vite isnt a thing.
FireShip: Post a video about it
Me: lesssgo
I put together a rails+hotwire+vite+tailwind app recently and honestly this is the easiest web dev has been in years, I feel like we're finally getting away from the mess that web dev became half a decade ago. Everything seems to be consolidating and it's making the development experience a whole lot better.
Kicked out webpack last week. Vite is ridiculously awesome, especially with a VueJs project. Was a sinch!
You hyped Vite like a week or two ago. I tried it and immediately fell in love. I've already converted the CRA/Craco app I was making
New Fireship video! Love your content ❤️
My favorite part of Vite is that the dev command results in a bundle that is different from the build command. Love finding errors after building for production. Thank you JavaScript :)
Well after some time I started to simply ship dev version, and no fucks were given at all.
What..? Dev builds and production builds are wildly different in almost any language and toolchain. This is not specific to JavaScript and definitely not specific to Vite either.
@@JasonEfstathiou that shouldn't be the case, the code should be the same and run the same to avoid misleading bugs. It makes no sense to let the programmer think their stuff works at dev time just to throw them off at testing or production with a bug that doesn't occur in development environment
My company just started using Vite, and it's fkn amazing. Not sure how I worked on the FE without it until now.
I use Vite for everything and it still blows my mind every time how fast it is
Can it work with Next JS?
@@tobychidi
at 1:15 he talks about a plugin that helps with server side rendering
Edit: nvm i misunderstood the plugin part
@@alperaktas99 Yeah. But it's not Next JS though. That's Vite SSR
@@tobychidi ohhh my bad. I thought he meant that the plugin would extend Vite to work with nextjs had to rewatch it again
The only the nextjs team can implement that. Take Nuxt3 does support vite even though it is kind of similar to Nextjs
Evan You didn't disappoint with vue and now with vite. Both of these tools are awesome.
So excited to create saome tutorials on Vite and Vitest
I just search for this video this morning on your channel and now you have uploaded it
Arguably the greatest series on youtube.
Evan You is a darn genius. First Vue and now Vite. Talk about a resume!
I swear, your videos need to be used by universities and colleges to get better explanations on languages and technologies. Seriously, THE best content.
At first, I went to their website and I didn't understand a thing. Thanks for the video, now I can install Vite confidently.
I really wanted this. Thank you so much fireship!
you are my go to for learning new topics
Never knew about it, fireship is the best. Thanks for keep updating and the way you edit your videos are super duper. Much love from India
I'm still new to web dev but your content makes it very inspiring
Talking about packages, the 'flash' really shows his off in your animation (0:56)
I was waiting for someone to comment on it! hahaha
I was doing WebGL2 examples with Live Server on VSCode and started running into errors importing a module, so I remembered this video and only needed the first 80 seconds to get up and running. Nice!
Thanks for this video, it give me the confirmation I needed to start using vite in my projects
Your timing is impeccable! I was just looking into this.
I hope you’re making bank and I hope you’re happy because, to many of us, you’re a god. Cheers and thanks for helping me get my programming skillset together!
your videos are always astonishing and mesmerizing.
Been using Vite on my current project, it’s awesome
Before I used to give zero respect to Vite but now I know Evan You is really a genius.
Wow, definitely going to start using this over normal create-react-app
Can you please do Solid.js in 100 seconds?!? You always talk about how fast and awesome it is in other videos, but have barely ANY dedicated content on it. 😟
Thanks for everything else! You ROCK! 🚀
I'm excited that someone can create useful tool in 2022 when we have literally everything for anything
These are the videos I need for my work colleagues to completely approve my decisions, been waiting for this one
every time i learn something from scratch, he comes up with a video explaining it
the size of node_modules when generating a React project with Vite is also 3x lighter comapred to CRA (around 100mb vs 300mb) and the install/build times are just unbelievable
#epic
#ifinix
#vaio
#canon
#nikon
#sony
#nokia
#sumarecone
#mercubuana
#windows
#samsung
Gotta love how even the lighter vite+react is still almost 5 times the size of the Sun JVM, which comes in at about 20MB at worst. Truly a node_modules moment
@ I hate that about JS projects. Frameworks like rails store all their deps on the machine in a versionised manner, sort of like brew does. Which means your projects are in the kilobytes, since they can share the same deps. You can configure JS to do the same but its usually a pain to manage versions across diff projects
Man those intros definitely make my day
Effing love Vite! Looking forward to a full 1.0 release of VitePress
The harsh cut of the music at the end breaks my heart. Please add a fade out the next time. Awesome content! Ty!
Used this for my Sveltekit app, works very amazingly. Super fast and super slick
Finally my favorite JavaScript tool. Vite saved me from a lot of headache & lost time, so I recomend you switch to it.
I honestly think Evan You is the modern day Einstein. This guy is a freakin genius.
I have been using vite for 6 months and I love it. It's sooooo fats
Yea Vite is amazing, I was working on vue store front and it is fuuucking slowly but with Vite it will be fine. evan you is amazing person.
I recently moved my react app from CRA to Vite, it was a pain to do, but I’m so glad I did it.
thank god for vite! i love this so much! thanks for covering it!
I'd love to see a more indepth video of how to setup and use Vite! Looks really interesting, and much less suffering to setup then webpack
This guy made me love javascript
Wow, another fireship upload!
Jesus, you're uploading like crazy lately :-)
My laptop was too slow to use create react app, i started using vite some months ago- JUST LOVING IT!
I'd be nice if you could make some tutorial with PWA and service worker with Vite :P
that's funny... I've started my first project with vite yesterday :D
Thank you Mr. Fireship
I recently using Vite for my Vue 3 front-end development and I love it!
I love you channel , you don t know what certain stack does ? boom Vite in 100 secs
Thanks for the clear and short explanation
I am addicted to fireship videos
I hated react before because it was a messy install and so bloted with junk folded etc. With vite you get a clean setup that's much easier to navigate! We need more stuff like this to speed up coding
vite is amazing, when i was trying svelte i got more roll up errors than js ones, i had given up svelte once due to roll up and was about to do again but then i found vite, loving svelte and vite since
I knew this was coming. Jeff has mentioned it several times in his videos that Vite is awesome
Vite has made Vue dev so much better Vue CLI was struggling in the smallest of the projects
When you should that it loaded the actual source code in browser, vite blew my mind. Definitely trying vite out next chance I get for a side project
*It's called vite, not vite*
No it vite not vite
Weed 🚬
@@its_me_frostyfloweryou win
its vite, not vite💀💀 cmon thqt is so obvious
It's weeeeeeeed 🌿
Love vite, I use it fore everything front-end outside of work👍🏻
These videos are always right on time with when i want to learn a new technology. Can you make one about the webserver Caddy?
That intro was incredible. I didn't make it 3 seconds before I hit the comments
Evan You is true web developer madlad
Whelp I’ll be using this for future react projects
I recently tried getting into web dev with react - and immediately stopped, because I had to wait longer for compiling and bundling than with C#. Thanks for letting me know about Vite.
Yeah, me too. I tried create-react-app and it was so slow I thought the shell froze every time. Vite is a lifesaver.
A follow up with Vitest would be great.
Cool! Thanks for sharing this.
Crazy 🚀 Yesterday I was thinking what is Vite 😎
I've been using vite for a while and it's wonderfull!
Me: "Oh what is Vite" *click video*
Fireship: "Veet"
Why is this not more popular?
Since I've used Vite, I've loved it tbh
Never heard of it but it sounds really awesome,
have to check it out for my next project
thanks for the intro. look like to try move from webpack to vite
Been using Vite for all my react project
This makes me want to try learning JS, it looks way easier than anything else!
you can speed up webpack as same as vite if you use esbuild loader. Webpack is not slow but the stack you use
Vite is definitely best bundler out there
Holy shit, the subscribe button flashes when he says "subscribe" at 2:23
Great video, also looking forward to Tauri in 100 sec
Thanks very much for all your videos. not watched all but all watched are awesome. Even if sometimes i do need to decrease the playspeed to follow, thats not worth an issue compared to knowledge increase.
🤣🤣🤣 npm run subscribe...
.. I am using Vite for the last 6 months.. really a very good bundler.
Beautiful straight to the point explanation! Thanks for the video
the avatar of web dev, bending the four elements of html, css, javascript, server stuff
How about a video about creating those logos? really beautiful work! I have a feeling you are re-defining logo aesthetics!
Vite is neat. Just like this video!
I have just started using vite today
SvelteKit with Vite is really amazing
Very timely. I had JUST been wanting to look into this. Probably the State of JavaScript did it
insane, gonna do practice project with this
Hot Damn!! I'm going to try Vite now