5 ms·
Nope. Nope. Nope. Trainer here. I train in React and in Vue. My students do 3 times the work with raw vue than in raw react. Every one of them. All the time.
by sametmax 9y ago
Nope. Nope. Nope.
Trainer here. I train in React and in Vue.
My students do 3 times the work with raw vue than in raw react. Every one of them. All the time.
It's not even on the same map.
- k__ 9y agoEven if you ignore 2-way-binding?
- sametmax 9y agoThe whole component russian dolls with data/callback passing is something most beginers have a very hard time to grasp. Add webpack to the mix, make them fight with JSX that doesn't want to do what they need and voila, you get a sad student. Starting with vue is just: add a script tag, put your template here, now your data here. Done. The start up experience is nothing alike.
- k__ 9y agoThat wasn't my question, but okay. lol
- nightski 9y agoUh, you pass data & callbacks through props in vue also, unless you use a single component. Why not just compare it to using a single component in react then also and be honest?
- sametmax 9y agoActually beginers in view won't use a component at all. They will use it angulajs 1 style
- xeromal 9y agoI'd clarify your statement of "3 times the work" as a positive. I had to read twice to not think that Vue took 3x the effort to do something.
- computerex 9y agoAlso a trainer and my students do 6x the amount of work in raw react than with vue. Every one of them, all the time. Looks like Vue sux. EDIT: In case this wasn't clear to you, I made this comment to highlight how ridiculous you sound. I don't know about you, but I don't select my tools based on how easy it is for students to learn them. I am a professional software engineer. Tool selection is driven by requirements. > Add webpack to the mix, make them fight with JSX that doesn't want to do what they need and voila, you get a sad student. You have made several comments here that lead me to believe that you do not have a good grasp of React and the React ecosystem. I think you are unfairly prejudiced against React because you had a hard time picking it up. This is not the case for everyone. And your students might do 3x more work in Vue because they might have a bad instructor. Do yourself a favor and forget Redux, and just use Create React App to write a simple application using good old React setState.
- k__ 9y agoI always see people praise Vue for it's easy to get started with it, but in the end it seems like a strange mix of jQuery and React.
- hesarenu 9y agoI find Vue and angular way more complex then reactjs mainly Due to them having their own syntax and I find jsx far better then template strings. For a Js developer reactjs would be easy. But if your not that experienced or just HTML guy then I can understand why they find vue/angular easy. Both have a framework built in for routing, css , http. You just need to learn their syntax and nothing much. With reactjs you need to come with your structure, find the correct routing, state managements,css libs etc
- deleted 9y ago[deleted]
- SnowingXIV 9y agoThis might be a dumb question, but what’s the best way to actually use this to make a real application? I’m talking speak to a database and hook up a backend. I’ve enjoyed using vue from a “this is a neat way to make components” but I’ve never successfully been able to do anything with it. I understand it’s just the “view” and not a full MVC like rails but I want that to exist. I want it super opinionated and favor convention over configuration. I haven’t found anything nice for a guide in building a real world application like this. Maybe it would involve multiple things vue + ? + Postgres or Mongo or some other option. But I want love something that would hold my hand start to finish connecting the dots.
- sametmax 9y agoYes you need a lot more tools. A backend framework with a REST API plugged to a data base is common way of doing it. Personally I use Django + Django Rest Framework a lot on the server and axios to query it on the client. But you mileage may vary.
- SnowingXIV 9y agoI would love to see a start to finish crud example of the "least" amount of magic and copy paste code for a guide on setting this up. I've messed around with Django and it seemed harder to grasp than rails due to using regex out of the gate to apply a simple route as opposed to get/do or resources.
- kevinleedrum 9y agoAcademind has a great video series on creating a Vue app that uses Firebase as the backend, and anyone can follow along and reproduce the results. He also uses Vuetify for the sake of having some prebuilt UI components. https://www.youtube.com/watch?v=dIkPb8krORU https://www.youtube.com/watch?v=dIkPb8krORU