React.js VS Vue.js | Is Vue.js better in 2024 | Know this before you start | Explaned in detail

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
so while I switch from react to view I'm moving everything to Lal plus view a moona repository using inertia JS and this means I fully got rid of all the jargons of reactjs and now enjoying the flavor of vgs but the real question is why I'm switching from react to vgs and this I'm doing apart from the truth that react is super popular backed by Facebook loved by many people having amazing community and having an amazing framework called Next years why what is the reason I'm going to tell you the reason in this video and you need to watch till the end of this video and if you agree or disagree with my decision comment below whether you like react or view or whether my decision is right or wrong according to you comment below and now let's start the video so hello and welcome to bit fums I'm your host Sak and this video is all about why I switch from react to VJs this is a tough decision I must say because the first time when I started writing react for my website at that time I was very new to react and I thought that let's use react to build my website and in this process I going to grab my skill over react and you know the funny part when I first created the bit films website it was using njs n the framework of VJs so I traveled from VJs to react to nextjs and now once again to the vuejs the decision of moving from react to view was not just because I like vuejs and it is simple it's also based on many facts and logical decision when when I was making my mind whether should I continue using nextjs or should I switch to vuejs I considered many facts for myself it maybe not valid for you but it was really helpful for me so let me disclose each and every reason why I switched from react to view okay so the first reason is jsx I know you agree with this no one like jsx but because of the popularity of react because the amazing Community behind the react people consider it like okay we can use it we can work on jsx but as a solo developer for a project it is not fun it is not fun to use the map inside of your HTML it's not fun to use two line or multiple line of if and else and just single line statement it's not at all fun to have the functions written everything inside of your HTML I really hate it but because of the love of next GS because how amazing the next GS is I thought that let's complete it let's use it so if you are using map in react and if you go to view you don't need to use map it's very clear V4 and with the V4 whatever tag you use for the V4 it will be replicated how many times you have the array it's so amazing it's so clean and anyone can read it properly against the map in the jsx I don't understand why react has not yet created something better for this they say that it's a developer friendly framework but I I don't feel like that comparing to VJs now the second reason is absolutely important for me so see as a solo developer I had to replace everything with vgs that means migrating all the front-end code from react to vgs and you know I tried little snippet that means I tried moving one component from react to view it was really a breeze you know what happened I had like 15 20 line of code in my GSX for reactjs when I moved to vuejs it was just cut down to 10 why because it doesn't have any map it doesn't have any inline eils it doesn't have that kind of structure which I had on the react and I copied everything to view component created the template moved map to view V4 moved statements to V if V else and the magic part was the input field on change and the value so in the react you need to use the on change function and value from your state in VJs you just need one attribute which is V model once you use the V model it has a two-way binding with a single line and that is really powerful so if you think that you will going to have hurdles while migrating react code to VI you are wrong it's really really easy to migrate from react to VJs next important reason is the state management you know it's really hard to manage the state in react in next J also it's like you need to use the reducts or you can use the contacts reduce lot of code you have to write just for State Management but the react lowers will say that hey why don't you use different libraries I would love to but if I get all the things in the vs why should I use external libraries which may not be trustable consider vuejs if you have ever seen how easy to create the states in View using VX or Pia you will be amazed again against the react Redux and other forms of State Management apart from the state management libraries Redux is not the part of react yes it's powerful thing but created by someone else it's not created by the react team considering VX Pia these are created by view team and this means everything using the Vue and the Pia and the VX is tightly coupled and super easy to set up and use and that's why if you ever faced any difficulty using or handling the states in react I would prefer just give it a shot to Pia using the VJs and V3 makes things really really simple like you love in reactjs I really like the custom hooks we can create in react JS and I have created tons of custom hooks when I was using nextjs but you know what with V3 you can do the same thing you can create the custom hooks although we don't call it hooks but performance is same exactly you use the mindset in react you can use the same thing with V3 and you know I have many more small small reasons why I moved to vuejs from react but I don't want to waste your time telling you each each and every small reason but you got the point why I moved from react to view as a solo developer but what is your view whether I did right or wrong what your preference is when you create a new project whether you start with view or react what you think which will go far in the future so tell me everything in the comment section and how you like this kind of video because if you say that this kind of videos are helpful to you I will create more videos of this kind so if you love this video just give it a thumbs up like this video share with your friends who really love react and see what is their reaction when I say that hey I moved from react to view and before going forward I'm going to tell you one thing but even before that if you have not yet subscribed go and subscribe to this bitf YouTube channel so the last thing I just want to say that I'm not saying react is bad I'm not saying view is amazing there are many things where view lacks and there are many things where react lacks and the decision of using any framework whether it's react or view totally depend upon the type of person you are the type of project you are working and how many people are involved in that project for me I'm the only person so if I use react view angular felt or just JavaScript it totally doesn't matter to any other person it's just my decision make your decision based on different factor and don't just follow or don't blindly follow anyone not just me don't blindly follow anyone to make your decision take the action after considering the scenarios so don't forget to follow me on Facebook Twitter Instagram and Linkedin and we will meet in the next video till then goodbye
Info
Channel: Bitfumes
Views: 8,602
Rating: undefined out of 5
Keywords: react vs vue, what to learn in 2024, web development, web dev, website, build website, building website, front end developoment, backend development, front end web dev, front end web development, react.js, vue.js, react js, vue js, what is web development, technologies to learn in 2024, react js vs vue js, react.js vs vue.js
Id: 2_EjfFgCKGg
Channel Id: undefined
Length: 9min 54sec (594 seconds)
Published: Tue Dec 19 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.