Interactivity API
Building a search app with the Interactivity API (part 3)
In part 1 we talked about why, in part 2 we talked about the markup, and now we’re finally getting into the interactivity bit (aka the Javascript-but-technically-it’s-Typescript). Init Interactivity First off, let’s look at the container; we initialize the server state and set up a callback. This callback is the most important thing, because state…
Building a search app with the Interactivity API (part 2)
In part 1, we talked about the why and getting set up. In Part 2, we’ll examine the markup between the PHP and React code.
Building a search app with the Interactivity API (part 1)
A version of this post first appeared on the Choctaw Nation wiki site. When I first built the Veterans Archive search, I was very proud—it was my first major React app! Years later, I’m wiser, regret my decisions and a better alternative has arrived: the interactivity API + the interactivity router. You will see references…