
The key idea here is that React is just rearranged and simplified JavaScript. While you can start with React without knowing JavaScript first, it might be difficult to learn JavaScript concepts at the same time as React-specific ones. Key JavaScript concepts, like objects, callbacks, and async, will carry over and give you a huge boost when you learn React.Ī few examples of concepts that will carry over from JavaScript to React are timers, events, and the DOM (Document Object Model). Therefore, it’ll really help to know a bit of JavaScript before you start learning React. Vanilla JavaScript (JavaScript just by itself) is often a hassle to work with, and React can often make things much easier.īecause React is a wrapper for JavaScript, React maintains all of the JavaScript concepts. React is a JavaScript library, meant to make it easier to build functionality into websites.

If you already know how to program, knowing JavaScript will help you even more when learning React.

Knowing JavaScript Helps with Learning React If you’re not familiar with what is going on behind the scenes, it can be hard to build good React code. If you try and write your very first program in React, you might get the wrong idea on certain fundamental concepts.Īs we’ll see later in this article, React simplifies programs, allowing HTML-like code to have JavaScript functionality. These concepts will help you get quickly acquainted with React.įurthermore, React is designed as a simplification of existing coding concepts in order to speed development. If you’re learning React without any prior experience programming, React might not make much sense.īasic coding concepts, such as object-oriented-programming, will really help your React journey if you don’t have them already. Knowing How to Code Helps with Learning React
