An example of sharing stateful logic across React components using the Render Callback (aka Function as Child) pattern