gerduo.blogg.se

React tutorial for beginners
React tutorial for beginners









react tutorial for beginners

React is a declarative library, while JavaScript is an imperative programming language. This is the part where I failed, so I'm including it here so you don't have to make the same mistakes. What's important is that you start with the basics, then fill in your knowledge gaps along the way. The good news is that you can start learning the basics of JavaScript right away. async / await (not ES5 or ES6, but ECMAScript 2016).

react tutorial for beginners

But how much JavaScript do you need for React?Īt the very least, you should know the most important ES5 and ES6 concepts (ES5 and ES6 is the first and second major revision to JavaScript): So if you want to learn React quickly, then get comfortable with JavaScript. How will you debug when you come across errors and bugs? Not to mention that if you skip JavaScript, you'll have a hard time knowing which part of your code is just JavaScript and which part is React. If you skip JavaScript and learn React straightaway, you'll actually make your learning time longer because you skipped the basics, or the pre-requisite.

react tutorial for beginners

I wrote a post listing beginner exercises in React, and even those beginner exercises need JavaScript as a prerequisite. You can't really learn React fast if you're not familiar with the language that the library is built for. This is a no-brainer, but let's get it out of the way.











React tutorial for beginners