Project setup
However, before we can dive into React, first we need a small setup in our project to allow us to create React components.
Go to http://facebook.github.io/react/downloads.html and download the React Starter Kit Version 0.12.2 or higher.
After the download, you can unpack its contents and move all the files from within the build folder to our application's lib folder. Then, just load the React library onto the SpecRunner.html
file.
<script src="lib/react-with-addons.js"></script>
<script src="lib/jquery.js"></script>
With the setup complete, we can move on to writing our very first component.