Live data from Hacker News

The React Is “just” JavaScript Myth

daverupert.com

41–45 of 45 posts

Re: The React Is “just” JavaScript Myth

#41
post #9
post #8

Earlier quoted context omitted.

I dislike the templating language, preferring jsx which is mostly standard js syntax, e.g.: Vue: {{i}} React: items.map((i) => {i} )

Just to make things clear. You can use JSX with Vue as well. It's even a recognized way to write code in the official documentation ( https://vuejs.org/v2/guide/render-function.html#JSX ). JSX is just a language that can be interpreted into code for React & Vue.

Not to mention that you can use Jade/pug, also.

Re: The React Is “just” JavaScript Myth

#42
post #6
post #2

> React is so much more than “just JavaScript”. React is an ecosystem. I feel like it’s a disservice to anyone trying to learn to diminish all that React entails. React shows up on the scene with Babel, Webpack, and JSX (which each have their own learning curve) then quickly branches out into technologies like Redux, React-Router, Immutable.js, Axios, Jest, Next.js, Create-React-App, GraphQL, and whatever weird plugi…

Just out of curiosity, what are your thoughts on Vue? I've heard a lot of good things about it.

For me, vue is more natural, as is easier to use html/css as "normal" and just spice things up with vue.

And it let me use LESS javascript. Less javascript is always good.

Re: The React Is “just” JavaScript Myth

#43

> I sometimes browse React projects and look at the import blocks to see if I recognize any of the dependencies; I probably average about ~8%. This is very true, not just because of the libraries you don't know yet but also because those you do know are continuously evolving. I've been working in the React ecosystem for about 4 years now. I think constantly keeping an eye on the changing ecosystem, and constantly cha…

I too love the constant change its exciting.

But you can't live like that forever. Things need to remain constant so you can work on difficult business logic instead of changing how you do standard things.

Re: The React Is “just” JavaScript Myth

#44
post #43

> I sometimes browse React projects and look at the import blocks to see if I recognize any of the dependencies; I probably average about ~8%. This is very true, not just because of the libraries you don't know yet but also because those you do know are continuously evolving. I've been working in the React ecosystem for about 4 years now. I think constantly keeping an eye on the changing ecosystem, and constantly cha…

I too love the constant change its exciting. But you can't live like that forever. Things need to remain constant so you can work on difficult business logic instead of changing how you do standard things.

The point I was making though is that this isn't necessarily true - you can do both simultaneously. Your stack can be continually improving while you still focus on feature delivery in parallel. What I was getting at is that you should embrace and enjoy this if you want to be happy working in the frontend, specifically React, world.
Post reply on HN