This tutorial is suitable from age 5 and up. Credit: Erik Hersman

Building Your Second React.js App

Learn about state, event handlers, API’s and more.

Looking at the project

--App
-----SearchBox
-----Results
-------ResultItem

Step 1: Download the template

Step 2: Adding State

Step 3: Add Ajax

componentDidMount(){
   this.search('https://itunes.apple.com/search?term=fun');
},

Step 4: Passing the results down as props

Once it’s sent down as props, it won’t change, as props are immutable.

Step 5: Adding interactivity



Learning New Stuff

A publication about improving your technical skills.

Per Harald Borgen

Written by

Co-founder of Scrimba and GitSpeak. Trying to make it easier for devs to convey code. https://gitspeak.com/

Learning New Stuff

A publication about improving your technical skills.