4 ms·
Have you tried comparing vanilla JavaScript + HTML compared to JSX? React makes your code more concise if you're trying to do any amount of interactivity on you
by ajvs 4y ago
Have you tried comparing vanilla JavaScript + HTML compared to JSX? React makes your code more concise if you're trying to do any amount of interactivity on your site. You can learn the former in any basic web development tutorial but personally I don't think I'll ever touch it again after learning React.
- yakshaving_jgt 4y agoIt is clear from the question that the asker is sceptical of whether JavaScript of any kind is necessary at all. Why did you immediately jump to comparing JavaScript approaches?
- weird-eye-issue 4y agoIt's 2022 and user's most basic expectations require Javascript for anything other than the simplest use case
- kome 4y agoso false.
- yakshaving_jgt 4y agoIt is indeed $CURRENT_YEAR, but that does not validate your claim. It is perfectly legitimate and practical to build a web application using little to no JavaScript. It is also abundantly evident that consumers and professionals are still happy to pay to use web applications which employ little to no JavaScript.
- mattlondon 4y agoI would strongly advise against react if you are looking to learn the fundamentals. By all means learn about raw DOM manipulation with JavaScript first, but do not go directly for react. We are repeating the same issues we had years ago where people started conflating JavaScript with jQuery - people are conflating JavaScript with react l. JavaScript is an insanely powerful flexible and widely deployed language. It is so much more than just react/jQuery. It is the Lingua Franca of modern computers.
- nottorp 4y ago> By all means learn about raw DOM manipulation with JavaScript first Yep, where is the documentation for modern JS without any libraries? Preferably something that doesn't try to teach you what an if and a loop are first.
- auggierose 4y agoI can recommend this book: https://exploringjs.com/impatient-js/ https://exploringjs.com/impatient-js/
- nottorp 4y agoSkimmed through it randomly and it sounds good for learning the language, thanks! Now where's the equivalent for actually using JS in a modern web browser :)
- test1235 4y agohttps://developer.mozilla.org/en-US/docs/Web/javascript https://developer.mozilla.org/en-US/docs/Web/javascript
- mattlondon 4y agoPart 2 of https://javascript.info/ https://javascript.info/ then there is always MDN.