Tutorial: Programming in React for beginners

Here, I start at the very beginning so you can get your hands dirty by building a simple React app

Become An Insider

Sign up now and get FREE access to hundreds of Insider articles, guides, reviews, interviews, blogs, and other premium content. Learn more.

For all the awesomeness that React brings to the table, getting started with it is not the most straightforward process. It has a steep learning curve filled with many small and big hurdles.

Here, I start at the very beginning so you can get your hands dirty by building a simple React app. You’ll encounter some of these hurdles head-on, and some of these hurdles you’ll skip over—for now. By the end of this article, not only will you have built something you can proudly show off to your friends and family, but you’ll have set yourself up nicely for diving deeper into all that React offers.

Dealing with JSX

Before you start building your app, there’s an important point to cover first: React isn’t like many JavaScript libraries you might have used. It doesn’t get too happy when you simply refer to code you’ve written for it using a script tag. React is annoyingly special that way, and it has to do with how React apps are built.

To continue reading this article register now