Learn Vue 3 - Ep 22, Dependency Injection With Provide and Inject

  Рет қаралды 7,148

Laracasts

Laracasts

Күн бұрын

Пікірлер: 14
@kylealistairhill3285
@kylealistairhill3285 2 жыл бұрын
These videos are super! Been working with Vue for a while now and still found these videos really helpful. The options API has been my go to method however, this made me reconsider the composition API. Clear and concise examples and a voice like butter! Thank you
@grigoryvoevodin1107
@grigoryvoevodin1107 Жыл бұрын
Good day. I'v watched the whole series of vue3 on your site. And I want to say that this is the best video course I'v ever seen. The way you structure things seems perfect for me. Thank you very match and good luck.
@jasonrooney1368
@jasonrooney1368 Жыл бұрын
One thing to note is that in your 'safer' option, you're still passing down the name ref which can be mutated. To keep things safe, you can wrap it with readonly( name ).
@captainalpha4853
@captainalpha4853 Жыл бұрын
Thanks for the observation 😊
@jazepsreinisbumbiers1413
@jazepsreinisbumbiers1413 6 ай бұрын
Great tutorial. One thing: I have seen that for some episodes you make a new template with code. My suggestion would be to make a repo with each templates chunk as a branch. It gets very tedious to rewrite all the template code for each episodes chunk.
@RazvanIacob
@RazvanIacob 2 жыл бұрын
thanks for the video! really helpful! Looking forward to what else you have in store.
@BillieBonse
@BillieBonse 5 ай бұрын
Jeffrey thanks!!! it's fire!
@BrianReisman
@BrianReisman 6 ай бұрын
This is terrifically demoed! Thank you. One question, at 8:43 it seems this component is importing props only to expose them via provide( ). Am I right under non-demo circumstances this is an anti-pattern and wherever those props come from should be the component to provide them?
@bulent2435
@bulent2435 Жыл бұрын
Before you showed passing functions in object, this whole thing was looking like reintroduced EventBus which was depreciated a few years ago.
@user-nh8ge6hx9r
@user-nh8ge6hx9r Жыл бұрын
Hey first of all thanks for your amazing vue videos. Got a question, when would you use a pinia store (with store to refs in the component) instead of provide/inject to share and store data across the app.
@dj_des_u_s
@dj_des_u_s 2 жыл бұрын
Another good one
@vincentbeaulieu7553
@vincentbeaulieu7553 2 жыл бұрын
Could you delete the :quiz="quiz" props on the QuizFooter component and the :quiz="quiz" in the QuizFooter component to really show that we don't need those with inject/provide?
@fahim52510
@fahim52510 2 жыл бұрын
It's a great
@ishortsclips
@ishortsclips 2 жыл бұрын
first
Learn Vue 3 - Ep 23, Store State in an External File
7:26
Laracasts
Рет қаралды 6 М.
[Episode 26] Provide and Inject
16:33
Bingyang Wei
Рет қаралды 124
Try Not To Laugh 😅 the Best of BoxtoxTv 👌
00:18
boxtoxtv
Рет қаралды 7 МЛН
Family Love #funny #sigma
00:16
CRAZY GREAPA
Рет қаралды 20 МЛН
Learn Vue 3 - Ep 20, Composables Example
17:33
Laracasts
Рет қаралды 10 М.
How to Fetch Data with Vue 3 Suspense, Fallbacks & Error Boundary
19:36
Modus Create, LLC
Рет қаралды 28 М.
Dependency Injection in Vue 3 with Provide and Inject
3:14
Justin Brooks
Рет қаралды 12 М.
Learn Vue 3 - Ep 26, Team Dashboard Exercise
15:57
Laracasts
Рет қаралды 7 М.
Vue 3 Composition API Introduction [FULL TUTORIAL]
23:46
Academind
Рет қаралды 175 М.
Learn Vue 3 - Ep 25, Say Hello to Pinia
8:56
Laracasts
Рет қаралды 8 М.
One Quick Tip For Vue.js (Inject / Provide)
6:54
Program With Erik
Рет қаралды 12 М.
The best way to learn Vue.js in 2024 - CRASH COURSE
57:21
Vue Mastery
Рет қаралды 172 М.
Try Not To Laugh 😅 the Best of BoxtoxTv 👌
00:18
boxtoxtv
Рет қаралды 7 МЛН