React Lesson 2 (Part 3): Unit Testing

Let's add some unit testing to our little text editing widget that we began in React Lesson 2. At this point I'm going to create a new branch from my existing setstate-horror branch. While currently on the setstate-horror branch, I type git checkout -b tiny-text-commit. This creates a new branch copied from the old one … Continue reading React Lesson 2 (Part 3): Unit Testing

React Lesson 2: Dealing with React’s Would-Be Immutable States

Let's discuss setState further. As usual, along the way we will create a little widget and try to learn some things by doing. Like the others, the code I make for this lesson will be hosted on my GitHub repo react-examples, which is located here: https://github.com/xerocross/react-examples. Let me include a tiny bit of git instruction … Continue reading React Lesson 2: Dealing with React’s Would-Be Immutable States

React Lesson 1: React at First Glance

Let's begin learning some React. Here's what I know about React. It's one of the big three. Its major corporate sponsor is Facebook. It's on GitHub at https://github.com/facebook/react with an MIT license. It uses this terrible syntax called JSX where they intermingle template and scripting into an unreadable mess, and react fans defend that practice … Continue reading React Lesson 1: React at First Glance