The React Is “just” JavaScript Myth
daverupert.com
The React Is “just” JavaScript Myth
1–10 of 45 posts
Re: The React Is “just” JavaScript Myth
#2> In my experience, there’s no casual mode within React. You need to be all-in, keeping up with the ecosystem, or else your knowledge evaporates.
This is not true at all. I use React for work and for pet projects, and I don't use or know what most of these libraries do. (We do use Redux).
It's easy to get caught up in library mania and chase after the newest javascript fads, but it is not necessary to build products.
Also, GraphQL is not tied to React or Javascript.
Re: The React Is “just” JavaScript Myth
#3Re: The React Is “just” JavaScript Myth
#4Yes, JSX is not part of the core language (yet), but it's the closest to pure JS we are going to get considering developers' need for an intuitive, expressive, and virtually bulletproof templating language.
Before learning React, I built some decent-sized applications with Ember and Emblem (a whitespace-significant language that compiles to Handlebars) and it was utterly painful. Not wanting to deal with Handlebars' proprietary, Ruby-like syntax (not bad per se--Ruby is really cool--but out-of-place in a JS application) and its artificial limitations on what you can do with the language (anything resembling display logic has to be extracted into special helper functions) is probably the single biggest reason I ultimately came to prefer React over Ember, despite Ember having some conveniences React didn't and still doesn't (such as a concrete modeling and persistence layer like Ember Data).
With that aside, I think React is the closest we can get to "just JS" without abandoning pragmatism.
Transpilers and build systems are a necessity when the language itself is changing at such a rapid pace and there are so many different environmental concerns an application needs to satisfy.
Re: The React Is “just” JavaScript Myth
#5> 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…
You can definitely write your application in React without external dependencies, but how is a beginner expected to do that, especially with all these other popular libraries around?
Re: The React Is “just” JavaScript Myth
#6> 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…
Re: The React Is “just” JavaScript Myth
#7Re: The React Is “just” JavaScript Myth
#8> 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.
Vue: {{i}}
React: items.map((i) => {i})
Re: The React Is “just” JavaScript Myth
#9Earlier quoted context omitted.
Just out of curiosity, what are your thoughts on Vue? I've heard a lot of good things about it.
I dislike the templating language, preferring jsx which is mostly standard js syntax, e.g.: Vue: {{i}} React: items.map((i) => {i} )
Re: The React Is “just” JavaScript Myth
#10React has a very small api, I hardly ever refer to the documentation (unlike when I was a jQuery or Angular developer)
I agree that people reach too early for helper libraries but you can go a long way in pure React.