Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
You have a static webpage, you like to add some cool effects. jQuery is perfect for that.
-
@LicensedCrime but you can't set display to none based on window position in case, don't you?
Maybe I'm wrong... -
I'm converting from jQuery to vuejs and sometimes i think it's more easier to use jQuery on some occasions!!! 🤔
-
@cha-m-ra interesting. To me it has been the complete opposite. I guess we could very well treat Vue as a more modern and powerfull version of JQuery. I do really like jquery btw
-
Froot75567y@sunfishcc Because that's obviously all you do with JS, cool effects.
Anyhow, jQuery actually has a place when you're scraping info from html documents. See "cheerio", a node package.
Other than that, since browsers support querySelect now, not really. -
@Froot tbh, JQuery is forbiddened at work. 😒 We moved to purely React now.
I thought most people use Python for html scraping -
Froot75567y@sunfishcc Could be, I'm just not very good at python so when I need to throw together a scraper I use node.js. It works really well too since node can effortlessly do requests in "parallel" so you can scrape as fast as you can and not wait on network requests.
-
inaba46257y
-
@inaba I know most of them. Some of the problem is more complex then it looks.
Eg. Js objects deep clone. (With functions and nested objects) -
orijin20217y@Froot react has a steeper learning curve than vuejs.
I prefer react, but switching to it would mean half of our devs would be inept at extending the codebase.
Where as with vuejs juniors have a chance to work with it -
Froot75567y@orijin I might be harsh here but if Devs can't learn a new technology then they're shit Devs, I'm sorry 😄
Tho it seems that ease of use is the main thing going for Vue. -
@Froot l tend to use simple technologies that I can understand easily! Currently I'm looking in to react too!😋
-
@AleCx04 I think the thing is that I learnt to program using jQuery! So i tend to think in jQuery 😏
-
orijin20217y@Froot i agree, but i prefer my weekends rather free, than solving shit others couldn't do in a week
-
Pointer32497y@Froot I use VueJS as my main driver.
I took on it because I tried the holy Trinity (Angular, React and Vue) and the latter seemed easier to get started with.
- It has simple syntax because it relies on pure JS, nothing fancy (unless you start to use single file components and webpack).
- It's easy to begin integrating it into an actually ongoing project, you just patch the script tag in the header and you're ready to go, Vue available all around the website without having to redo stuff first.
- I think it is suitable for one-person teams and maybe middle-sized projects.
Choosing a framework falls into the same *choosing an OS* tale.
About your comment on people learning new technologies, I think it's kinda harsh, I mean, yeah of course you should (and must) be able, because this field it's a fucking fast-paced one, but sometimes, using simpler things allow for less friction and reaching the deadlines on time. -
@Froot I just did it to learn something else. I really like React, but Vue js came up and I thought hey why not!
As far as benefits from one over the other I think that one thing that I really dig about Vue is that 2 way data binding is done using tags in your markup( v-whatever:etcetc) and stuff like that but it is more a matter of personal taste honestly. -
w00000t837yI think it depends on what you want to build. For complex single page applications I choose React (Redux,Saga). But often server side rendered apps are faster to build and become more stable. For those I'm using JQuery to build my components. It just works.
-
jQuery is just a tool.. use it where it's effective and use something different where it's not.
-
stisch48147y@rtannerf I 100% agree, other than comparing React to a power drill. A better metaphor would be a really BIG, heavy screwdriver. That no one can lift. And breaks. A lot.
Tips for using jQuery:
Don't
rant