I wrote a really simple #React component that has logic inside of it. (Yes, I know that should be factored out, but it’s a toy example. So hush.)