Vuex 4 TypeScript Tutorial // Learn Vuex 4 + Vue 3 With TypeScript (With Real TYPES!)

26752
82
435
03.08.2020
Program With Erik

Program With Erik

10230685
118000
673
05.07.2013
US
Описание видео:

Vuex 4 with Vue.js 3 and TypeScript is a great combination. In this video we'll explore how to use Vuex 4 with TypeScript and how you can set types everywhere! #vuex #vuejs3 #vue3 👉Check out my last video on Vue 3 With TypeScript 🤍youtu.be/V9MmoBAezD8 📚 Sign up and get notified about my new Vue 3 course! And get a free cheat sheet! — 🤍bit.ly/2vFWBQi 🔥🔥 Andrei's Awesome Courses - 🤍bit.ly/2WvM9FR 0:00 Introduction 1:33 What the App Does 2:40 The Problem 5:10 Defining Store Mutations 10:24 Defining Actions 13:09 Defining Getters 14:12 Definining Store Type 16:08 Define createStore 18:40Setting up useStore and example ♡ ♡ ♡ Make Sure To Check These Courses Out On Udemy! 💻 → JAVASCRIPT ALGORITHMS COLT STEELE'S COURSE - 🤍bit.ly/2L8HSPV → THE WEB DEVELOPER BOOTCAMP (GREAT FOR BEGINNERS) — 🤍bit.ly/2zP4alw 👉 Algo expert is the best way to learn algorithms! Check out my code and get 15% off at checkout with code "erik" 🤍algoexpert.io/erik _ Links (and code) 🤍github.com/ErikCH/Vue3TypeScript/tree/vuex 🤍dev.to/3vilarthas/vuex-typescript-m4j MY WEBSITE — 🤍🤍programwitherik.com MY TWITTER — 🤍🤍twitter.com/erikch

Кадры из видео
Vuex 4 TypeScript Tutorial // Learn Vuex 4 + Vue 3 With TypeScript (With Real TYPES!)
Vuex 4 TypeScript Tutorial // Learn Vuex 4 + Vue 3 With TypeScript (With Real TYPES!)
Vuex 4 TypeScript Tutorial // Learn Vuex 4 + Vue 3 With TypeScript (With Real TYPES!)
Vuex 4 TypeScript Tutorial // Learn Vuex 4 + Vue 3 With TypeScript (With Real TYPES!)
Тэги из видео
Комментарии пользователей:
izzyCode
2023-01-08 01:15:41

Why they created TS?
- to make `any` objects everywhere

Дмитрий Тютяев
2022-08-20 02:25:35

Спасибо тебе, мужик! Ты очень мне помог!

WizzGeeks
2022-04-03 05:31:10

Type script sucks . Can't use store out of box. It says useStore is undefined.

Si D
2021-11-15 07:54:34

STOP WATCHING THIS VIDEO. Go watch his Pinia one instead. Vuex 4 with TS is convoluted and utterly a waste of time.

Jean Muyuela
2021-08-10 08:41:34

i find it very hard to sell Vuex to people because of the lack of typings out of the box. Angular's ngrx and ngxs felt superior to Vue's Vuex because of typings..

Ex Nihilo
2021-07-07 00:40:00

implementation of vuex 4 into vue3 with typescript is simply "disgusting".

huda21
2021-06-28 01:19:24

complicated 🙄😟

Aaron Reese
2021-05-14 13:17:57

Awsome video as alway Erik, Could you do a follow up video of how to implement this in Quasar V2. I have tried making changes while following the video but I get some additional errors which I think are to do with the way Q2 is handling state modules and the StateInterface. Complexity is in having multiple modules and the getters, mutations and actions spread across multiple files. Also an example with something other than a primitive data type would be super-useful. Keep up the good work.

Y J
2021-04-21 03:34:36

I have a question...how to use this to support namespaced modules..I cannot use store.dispatch("auth/login")

Awais weis
2021-04-06 11:57:26

how beautiful and simple vuejs is but typescript is doing <public> rape of vuejs.

Ibrahim Mohammed
2021-02-19 22:51:12

i didn't understand a single thing

rahim einollahi
2021-01-21 11:02:05

please good teach ..

Collectors Channel
2021-01-01 22:46:05

thanks this tutorial

Nathan Alder
2020-12-03 12:03:13

At what point would you justify the added complexity of TS with Vue?

Mike Hurtado
2020-12-03 11:19:44

With the love that he had taken to MapActions, etc.

Huey Vam
2020-11-05 21:37:00

Is vuex even necessary anymore now that we have hooks in vue? Why not just import/export a reactive via a custom hook?

Left Blank
2020-11-03 02:05:20

Great walkthrough! I just can't see myself writing so much boilerplate for example for 10+ vuex modules. I'm pretty happy with vuex without TS. Vuex in itself is a lot of boilerplate code. In most of my cases, I work with a bunch of objects/object literals so most types end up being "any" anyway - so wtf does TS do for me there? Please enlighten me, I may be missing something obvious.

Stoyan Manolov
2020-10-08 11:05:55

A side question.. Has anyone been able to use Vue 3 with Vuetify? Cannot seem to be able to install it properly with Vue 3.

Harlley Oliveira
2020-10-02 13:17:03

I think there are Java developers infiltrated on TypeScript team

Что ищут прямо сейчас
asi se juega pvp en wow 青春环游记 徐明浩 Skyrim Modding lesserafim boom boom 小白 ive i am mirrored slow dance Livology kuliner solo synology vmware nfs vs iscsi movavi serial crazy Drum solo cemu games call me maybe video ахмедова insane drum solo epic manhwa осу! гайд china new submarine samer Islambouli OOP
Похожие видео
14.05.2023
Vue 3.3 Has Landed And It Changes Everything About Vue And TypeScript!

Vue 3.3 Has Landed And It Changes Everything About Vue And TypeScript!

06.03.2023
I Try To Recreate Signals In Vue - With Evan You's Help!

I Try To Recreate Signals In Vue - With Evan You's Help!

10.03.2023
The Future Of Vue , Amplify and More!

The Future Of Vue , Amplify and More!

18.03.2023
Incredible VS Code Extensions For Vue You Must Have!

Incredible VS Code Extensions For Vue You Must Have!

09.05.2023
Twitter vs Bluesky! A Look Into Bluesky API with Nuxt!

Twitter vs Bluesky! A Look Into Bluesky API with Nuxt!

23.07.2022
Tiptap - the Best JS Rich Text Editor for Most Projects

Tiptap - the Best JS Rich Text Editor for Most Projects

15.04.2023
This NEW Vue 3.3.0 Props Changes Everything And I Love It!

This NEW Vue 3.3.0 Props Changes Everything And I Love It!

05.04.2023
Tailwind vs UnoCSS vs Amplify - What App Should I Create?

Tailwind vs UnoCSS vs Amplify - What App Should I Create?

05.05.2023
Building A Billion Dollar App Live With JavaScript and AWS Amplify-  Questions and Answers

Building A Billion Dollar App Live With JavaScript and AWS Amplify- Questions and Answers

14.03.2023
Tailwind vs MUI vs Quasar vs Vuetify - My Choice For My Next Project?

Tailwind vs MUI vs Quasar vs Vuetify - My Choice For My Next Project?

30.04.2023
Introducing Amazon Code Whisperer - The Github Copilot Replacement!??

Introducing Amazon Code Whisperer - The Github Copilot Replacement!??

12.05.2023
Answering Your Questions - Building An App Live!

Answering Your Questions - Building An App Live!

18.03.2023
Amazing ChatGPT Tricks for Developers!

Amazing ChatGPT Tricks for Developers!

06.06.2022
Debugging Vue Apps in VS Code | Tools, Techniques, Technologies

Debugging Vue Apps in VS Code | Tools, Techniques, Technologies

04.05.2023
Add Authentication And Google Login To Your Website In Minutes (2nd part)

Add Authentication And Google Login To Your Website In Minutes (2nd part)

09.04.2023
Vue 3.3.0 NEW defineModel Will Change How You Write Vue Code!

Vue 3.3.0 NEW defineModel Will Change How You Write Vue Code!