title: SurviveJS - Webpack and React: From apprentice to master
author: Juho Vepslinen
description: Juho Vepslinen has been dealing with the web since the 90s. He is behind jswiki and jster.net. He has developed colorjoe and reactabular in addition to many other libraries.
zlib_text: PURE REACT
  BY DAVE CEDDIA
  
  Contents
  Contents
  1
  Introduction
  6
  Why Just React? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  8
  How This Book Works . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  9
  Environment Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  12
  Debugging Crash Course . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  15
  2
  Hello World
  17
  3
  JSX: What and Why
  20
  What Is JSX?
  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  20
  4
  Working With JSX
  26
  Composing Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  26
  “If” in JSX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  33
  Exercises
  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  36
  5
  Example: Tweet Component
  40
  6
  Props
  54
  Passing Props . . . . . . 