[changed] use `React.createFactory` for invoking React components as functions
[changed] use `React.createElement` for dynamically instantiating route handlers