Add routing support to React stub