node-templating-benchmark
node-templating-benchmark copied to clipboard
Use React.createFactory()
I believe that you might be able to get better perf if you use React.createFactory() once, and then use the factory to pass props and render the component.
See this code for example usage.
I have not measured this so I'm just going off the idea that its less work in each request to reuse the same factory.
Thoughts? @apapirovski @janit