Building a Coin-Tossing Simulator with React, Hooks, and Vercel: Part 1

1 · Daniel Eden · July 29, 2019, midnight
This is the first in a short series of posts explaining how to build a React application that simulates tossing a coin over and over again. Read part two and part three when you’re done here!I’ve never written a React tutorial before—there are plenty of people more qualified than me to do so—but I was recently reading “Why Does the World Exist?” by Jim Holt, which contained a passage that moved me to tinker with an idea:Think of an infinite sequence of random coin tosses: 1 for “heads,” 0 for “t...