Week 7 — 10 / 16

Lab 7: React Tic Tac Toe

While React is useful and popular, for a long time the docs were OK at best. The best introduction is the tutorial, but even then it has a lot of moving parts. For reasons we'll get into, React relies on pre-processing the code you write, which requires running Node, a separate framework that's for running server-side Javascript code.

Instead of all that, I've followed the instructions in their low-overhead guide to add React to a website to make a starter project in examples/week_7. We'll start there and work through the tutorial with it.

We'll be building a simple Tic Tac Toe game like this one: https://codesandbox.io/p/sandbox/4yq6fm?file=%2Fsrc%2FApp.js