June 2016
Intermediate to advanced
910 pages
18h 59m
English
To start using the React library, we need to first install it. I am going to show you two ways of doing this: the simplest one and the one using the npm install command.
The simplest way is to add the <script> tag to our ~/snapterest/build/index.html file:
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.14.0-beta3/react.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.14.0-beta3/react.min.js"></script>
There is a difference between the two that we'll learn about in the later chapters of this book. For our project, we'll be using the development version of React.
At the time of writing, ...
Read now
Unlock full access