How to Lazy Load Components in Vue 3 With Suspense

  Рет қаралды 16,413

Modus Create, LLC

Modus Create, LLC

Күн бұрын

Пікірлер: 38
@guilhermedamasceno343
@guilhermedamasceno343 2 жыл бұрын
Thanks for this video, I got some really good insight on a bug I was having on the production build of a SPA thanks to it.
@rizkhal
@rizkhal 3 жыл бұрын
This great guy explained very well and the manner is not boring, thank you very much!
@grgurgrisogono656
@grgurgrisogono656 3 жыл бұрын
I'm sending you a virtual 🍻 for making my day! Thank you soooo much!
@munapadhi8723
@munapadhi8723 4 жыл бұрын
After I see your all vue video I think it's more powerful framework very lite bit but amazing performance.
@astrosoup
@astrosoup 3 жыл бұрын
This is incredibly helpful. Thank you for creating this.
@shutterradio
@shutterradio 4 жыл бұрын
Nice video effects! Really helps to emphasise the important parts.
@grgurgrisogono656
@grgurgrisogono656 4 жыл бұрын
I'm really glad it helped. Thank you for sharing feedback, David 🙌
@RidvanOzaydin
@RidvanOzaydin 4 жыл бұрын
Content is great but the way you present is outstanding ...
@grgurgrisogono656
@grgurgrisogono656 4 жыл бұрын
You're too kind 🙌 Thank you *very* very much for your support ❤️
@timvu5079
@timvu5079 4 жыл бұрын
Great content!
@Moduscreate
@Moduscreate 4 жыл бұрын
Thanks for watching, Tim!
@ngaji_it
@ngaji_it 4 жыл бұрын
Nice video sir!
@grgurgrisogono656
@grgurgrisogono656 4 жыл бұрын
I appreciate your support very much!
@munapadhi8723
@munapadhi8723 4 жыл бұрын
You are rock, I love ur video
@grgurgrisogono656
@grgurgrisogono656 4 жыл бұрын
Thank you so very much, you made my day ☺️
@Max-ge3xb
@Max-ge3xb 3 жыл бұрын
Each time you ignore the error that you cant use v-else with v-for together, you make Evan You cry
@u-sho
@u-sho 4 жыл бұрын
In vue2, lazy loading component was great function, and now, it has become greater!! I tell you my glad when I find out this video, from Japan. And I fall in love with the font in your vscode. If you don't mind, would you like to tell me the font name?
@grgurgrisogono656
@grgurgrisogono656 4 жыл бұрын
Thank you so much! I'm glad the hard work to prepare, record, and edit these video is appreciated. As for the font, I use Operator Mono Book with custom added ligatures. A bit of extra work but I'm very satisfied with it
@u-sho
@u-sho 4 жыл бұрын
Grgur Grisogono Thanks for the reply! Because we have to write non-ascii characters (or just a language barrier), I never heard "Operator Mono Book." But it looks so cool❣️I'll become a bit busy with a part-time job to get a font in this summer of last year as a university stuedent💪🏼 (For ligature, I'm going to ride upon the shoulders of Giants living GitHub;) I really appreciate your kind. Thanks!!
@grgurgrisogono656
@grgurgrisogono656 4 жыл бұрын
@@u-sho Thank you u_sho san, that's kind of you. Good luck with the job this summer!
@rickyu1978
@rickyu1978 4 жыл бұрын
is vue 2 lazy loading simply built upon webpack ?
@grgurgrisogono656
@grgurgrisogono656 4 жыл бұрын
@@rickyu1978 It leverages some of the functionality in bundlers like Webpack. Of course, you could use a custom solution built on top of another bundler, but the important part is how `import()` creates a code-splitting point 😊
@basic_t339
@basic_t339 3 жыл бұрын
at 4:07 I saw two 0.js, why is the async component called twice? at 5:38 as well, saw two user.js? is this a bug or feature?
@TimSpharaoh
@TimSpharaoh 4 жыл бұрын
have you got a login / jwt header tutorial around? I am used to storing the JWT in a Vuex store. Noticed from another one of your tutorials a better way to work without vuex
@grgurgrisogono656
@grgurgrisogono656 4 жыл бұрын
You could use a hook to store the JWT token. Make sure you don't store it in browser storage. Cookies are ok, memory is fine, just make sure scripts can't find it easily (localStorage is easy to tap into)
@TimSpharaoh
@TimSpharaoh 4 жыл бұрын
@@grgurgrisogono656 kzbin.info/www/bejne/jH6tp4uKaa1pgK8 seems like this is a good way? Since its replacing Vuex/store? Or you have a better idea
@mclotos
@mclotos 4 жыл бұрын
I'm confused, I download Your code from github, but it doesn't show the loading message for each item - only the generic loader.
@muhammadissasabbagh1540
@muhammadissasabbagh1540 3 жыл бұрын
cool video.
@punaky682
@punaky682 4 жыл бұрын
Nice video, I'm pretty newbie in vue. If you don't mind can you tell me your vscode setting thank you.
@grgurgrisogono656
@grgurgrisogono656 4 жыл бұрын
Thanks! Sure, what do you want to know about? I try to keep things simple so I tend to use few extensions and few customizations. The font is Operator Mono Book for code and Meslo for terminal. I use a custom modifications of Dracula theme where I tuned the colors a bit. I also recommend Vetur extension if you work with Vue. Which other settings did you want to know about?
@punaky682
@punaky682 4 жыл бұрын
@@grgurgrisogono656 I think that's enough, thank u again
@onepizzatcg
@onepizzatcg 2 жыл бұрын
but do we really need to see so many times that it mentions that it is loading the component? It should only show a single loader and that's it
@abdi_pie7266
@abdi_pie7266 4 жыл бұрын
how about vite dude?
@rickyu1978
@rickyu1978 4 жыл бұрын
Askourous loading
@sduduzogumede1835
@sduduzogumede1835 4 жыл бұрын
I'm triggered by the fact that you kept on saying webpack and that to know vue one has to understand how webpack works of which is not true at all
@grgurgrisogono656
@grgurgrisogono656 4 жыл бұрын
You're right, knowing Webpack is not necessary to be a good Vue developer. However, I do believe that anyone who wants to grow should also know what happens to their code in production and the dynamics of how it's shipped. Again, that isn't to say that one has to know everything about Webpack, but it's definitely good to know the parts that are consumed from the source code of a Vue component. Would you agree?
@tealc5581
@tealc5581 3 жыл бұрын
@@grgurgrisogono656 indeed
How to Fetch Data with Vue 3 Suspense, Fallbacks & Error Boundary
19:36
Modus Create, LLC
Рет қаралды 28 М.
Vue 3 Hooks and Type Safety with TypeScript
21:04
Modus Create, LLC
Рет қаралды 9 М.
This dad wins Halloween! 🎃💀
01:00
Justin Flom
Рет қаралды 46 МЛН
Não sabe esconder Comida
00:20
DUDU e CAROL
Рет қаралды 59 МЛН
Kluster Duo #настольныеигры #boardgames #игры #games #настолки #настольные_игры
00:47
Colorful Pasta Painting for Fun Times! 🍝 🎨
00:29
La La Learn
Рет қаралды 308 МЛН
How to use the Vue 3 Composition API - Beginner VueJS 3 Tutorial
17:04
Modus Create, LLC
Рет қаралды 14 М.
Server Side Rendering with Vue.js 3
18:09
Modus Create, LLC
Рет қаралды 40 М.
A Simple Vue 3 Reusable Skeleton Loader Component
13:02
John Komarnicki
Рет қаралды 11 М.
Vue.js Tips: Use Slots The Right Way // VUE.JS SLOTS TUTORIAL WITH VUE 3
11:59
Vue 3 Typescript Introduction with Tips and Migration Guide From VueJS 2
11:26
Getting Started with the Vue Router in Vue 3
12:46
Modus Create, LLC
Рет қаралды 19 М.
Vue.js: Lazy Loading beyond routes?
11:49
Sanjar Mirakhmedov
Рет қаралды 2,5 М.
A Deep Dive Into Async Components In Vue! (Should You Use This?)
13:04
Program With Erik
Рет қаралды 21 М.
This dad wins Halloween! 🎃💀
01:00
Justin Flom
Рет қаралды 46 МЛН