GETTERS | VueJS & Vuex | Learning the Basics

Поділитися
Вставка
  • Опубліковано 17 гру 2024

КОМЕНТАРІ • 57

  • @zahidyldrm5625
    @zahidyldrm5625 7 років тому +42

    "There is nothing wrong with that, but we can do better" is the reason I am here.

  • @gbarillot
    @gbarillot 7 років тому

    THANK YOU! Crystal clear, not too fast, not too slow, saved me hours of headache!

    • @academind
      @academind  7 років тому

      Thanks so much, awesome to hear that! :)

  • @AuthanRam
    @AuthanRam 6 років тому

    Mega coole Videos! Das Zusehen macht irre Spaß, deine Art ist total locker und mit Typos gehst du auch sehr gekonnt um. Wenn es nicht schon so spät wäre, würde ich mir gleich noch ein Video reinziehen. Morgen wieder!! Weiter so... absolut genial. *thumbs up*

    • @academind
      @academind  6 років тому

      Vielen vielen Dank für dein super Feedback, freut mich echt sehr, dass dir Inhalt und Präsentation so gut gefallen :)

  • @andrewkikot
    @andrewkikot 7 років тому

    Great job!
    It would be nice to mention passing arguments in getters.

  • @despertaweb4793
    @despertaweb4793 7 років тому

    How Getters work with Async calls? I've set a getter to perform a GET request with Axios and it's not tolerating the async call or something like that.

  • @karinachavarin5601
    @karinachavarin5601 4 роки тому

    so, can getters have their own file? if so, how do you set it up?

  • @Burn0u7
    @Burn0u7 8 років тому +8

    Hi Max,
    I also bought and watched your course in udemy.com and it's amazing, get mi started with Vue 2.0 right away and also brushed some of my ES6 knowledge. It would be great if you make course for Webpack and ES6. You're just very good at teaching.

    • @academind
      @academind  8 років тому +2

      Thanks for your amazing feedback and valuable suggestion! I do have a Udemy course (and video here on UA-cam) about ES6. Webpack (2) might be something I look into in the future.

    • @Burn0u7
      @Burn0u7 8 років тому +1

      That was quick reply! I'm just finishing the Vue 2.0 course ( and looked youtube for refreshment on VueX ), and after this I will sure get into ES6 course! I'm currently building an progressive web app and using Vue as application shell and try to integrate my workflow ( generating ServiceWorkers, copy them on build on the same level as index.html, etc ) and it will be great if you plan to make tutorials on PWA and as you said in Webpack for the future. Also, really like the way you explain the concepts and put them in real-life situations. Again, thanks for the tutorials and the money for the Vue tutorial on Udemy were one of the best spendings I did for the last year.

  • @christherlenander539
    @christherlenander539 7 років тому +1

    Awesome tutorials, Helped me alot to advance in the world of VueJS. Keep up the good work.

    • @academind
      @academind  7 років тому +1

      Really happy to read that I could help you Christher. I'll try my best to help you and the others also in the future :)

  • @tomvoorneveld
    @tomvoorneveld 8 років тому

    You have an excellent talent to explain these matters. Thank you. One idea: use some sketches to depict this Vuex workflow? One image, so many words and so on ;)

  • @ajones1274
    @ajones1274 6 років тому +1

    This could really help clean my code base up, but I could see it getting huge. What's the best practice for bigger codebase? Can you have multiple stores ?

  • @alex-dk2rj
    @alex-dk2rj 6 років тому

    In my store.js I have a boolean value. In my component I want to watch for when that value changes and call I function. I don't need to compute a new value. What's the best way to handle this?

  • @ajones1274
    @ajones1274 6 років тому

    Around 8.28, you attach mapGetters to computed. What if I wanted more methods in this for just this Vue file? Could you use the spread syntax on mapGetters so I could add more methods to computed ? Or wpuld I add them directly in mapGetters, so instead of a string I would have the method directly in the object ?

    • @ajones1274
      @ajones1274 6 років тому

      If I was patient, you answer this around 30 seconds after and it's exactly how I thought it would be :)

    • @academind
      @academind  6 років тому +1

      Happy to read that the explanation was helpful in the end ;)

  • @djsamke384
    @djsamke384 6 років тому

    Hi max, how do these getters differ from mixins?

  • @phillipscards
    @phillipscards 8 років тому +1

    Thank you Max! Still watching.......

    • @academind
      @academind  8 років тому

      Really awesome to see you're still enjoying the videos!

  • @ajones1274
    @ajones1274 6 років тому

    Around 4.16 on line 17, when you call this unregisteredUsers, you don't pass a state, how does it know what state to use when executing this method ?

    • @DarktekG
      @DarktekG 5 років тому

      2:50 - 2:55 :P

  • @jofftiquez
    @jofftiquez 7 років тому

    "And surprisingly they're called getters... (subtle smile)" HAHAHA you got me here.

  • @AndreiCostin
    @AndreiCostin 6 років тому

    Dude! You're great!!! Thank you for your videos!

    • @academind
      @academind  6 років тому

      YOU are great Andrei, thanks a lot for your comment!

  • @alvinkonda
    @alvinkonda 7 років тому

    thank you teacher... best explanation ever... well not ever but very good. thnx

    • @academind
      @academind  7 років тому

      Thank YOU Alvin for your support, great to read that you liked the explanation.

  • @aeid502
    @aeid502 8 років тому

    Thanks man for your great videos whether here or on Udemy, but I need to ask you a question ... which is better to use to build a single page app Vue or Angular 2

    • @academind
      @academind  8 років тому +1

      Happy to hear you're liking the videos!
      There's no clear answer to that question. Both are great frameworks. Vue.js has the advantage that it's easier to get started with. You can use it in a MPA and SPA. It's very flexible and has an "easy-to-understand" syntax.
      Angular 2 is more complex, it's harder to learn. It might be overkill for tiny projects and it's not suited for MPAs. But it's really awesome at very large projects.

  • @adam192021
    @adam192021 5 років тому

    The BEST as always!

  • @claushellsing
    @claushellsing 7 років тому

    This video is awesome !! I just run the buy the Udemy serie, keep the good work.

    • @academind
      @academind  7 років тому

      Thanks so much and welcome on board of the course then! :)

  • @KajalMajumder
    @KajalMajumder 4 роки тому

    Great!! you are champion...

  • @nafishasnian1367
    @nafishasnian1367 8 років тому

    Max can you please make a project series with LoopBack?

    • @academind
      @academind  8 років тому +1

      Thanks for your suggestion. I'll consider it, though I got a lot of other plans for the next weeks and months

    • @nafishasnian1367
      @nafishasnian1367 8 років тому

      Thanks for your reply. Which backend framework would you use for a social networking app? Express can get flooding with middlewares so I am really confused about loopback and hapi or sails.

    • @academind
      @academind  8 років тому +1

      Can't give a clear advise here. I haven't worked enough with all of them. I kind of like express and I also like Koa but I got no clear favorite for something like that

    • @nafishasnian1367
      @nafishasnian1367 8 років тому

      Mindspace i understand max! You should definitely look up loopback. Its amazing for large scale applications and saves a lot of time

  • @biresths3126
    @biresths3126 8 років тому +2

    Hello, Please bring a Laravel + Vue Js tutorial, i want to do not know how to use vue js with laravel and many of your subscribers are looking for this tutorial

    • @tomvoorneveld
      @tomvoorneveld 8 років тому

      BireSth s did you search on Google? There are many, many vue x Lavarel... more than any other combo

    • @suprguy
      @suprguy 7 років тому

      laravel is shipped with a vue example
      you can just go from there

    • @suprguy
      @suprguy 7 років тому

      you can use window.axios anywhere in your javascript to communicate between laravel and vue

  • @stuartbooth8232
    @stuartbooth8232 7 років тому

    Great Videos - thank you :-)

    • @academind
      @academind  7 років тому

      Thanks so much for your great comment Stuart!

  • @alexti6268
    @alexti6268 8 років тому

    Hello, do you have a Twitter? I thought, it would be fun to subscribe to you.
    Thank you for lessons!

    • @academind
      @academind  8 років тому

      Yep, you can find me @maxedapps

  • @BroVitosss
    @BroVitosss 8 років тому

    many thanks))

    • @academind
      @academind  8 років тому +1

      You're welcome Viktor - great to have you on board! :)

  • @chesterxp508
    @chesterxp508 Рік тому

    GoodJob!

  • @maxpapirovnyk6351
    @maxpapirovnyk6351 6 років тому

    goood

  • @antonetrinh8662
    @antonetrinh8662 5 років тому

    Getter and MapSetter are silly. We are doing JS and not Java please get real.