Tiny router that mixes in with a React component