Sign in
Log inSign up
Israel Oyetunji

96 likes

·

11.8K reads

7 comments

Victor Eke
Victor Eke
May 5, 2022

I'm also writing an article on Vite. It is so cool and fast. Nice article Israel Oyetunji

1
·
·1 reply
Israel Oyetunji
Israel Oyetunji
Author
·May 5, 2022

Thank you, Victor. I'd love to read your article when it's published!

4
·
Quincy Oghenetejiri
Quincy Oghenetejiri
May 5, 2022

Nice article Israel vite is indeed faster But I believe it does not have much functionality in comparison to CRA with regards to warnings and errors being shown in the terminal.

1
·
·1 reply
Israel Oyetunji
Israel Oyetunji
Author
·May 5, 2022

Yes, I did see some reports about it online. Also, found one about type errors not being detected as regards type checking in Typescript.

From the official docs:

Vite does NOT handle type checking by itself:

  • During dev, your IDE should already report the errors.
  • During build, the latest template does perform type checking already. Make sure to run npm init @vitejs/app@latest.
1
·
Veeresh Raavipaati
Veeresh Raavipaati
May 5, 2022

Do we find any difference in performance when deployed in production?

1
·
·1 reply
Israel Oyetunji
Israel Oyetunji
Author
·May 6, 2022

That's a good question, Veeresh.

Yes, by using Rollup under the hood, during production, Vite ensures performance optimization techniques like tree-shaking, lazy-loading, and common chunk splitting.

·
yuqieang chan
yuqieang chan
May 8, 2022

apo

·