If you are using Reactjs in your app and some of pages in your app are static, do you use Reactjs for that or just render them as plain html?
We pretty much keep them as plain HTML, unless we feel there is a possibility to reuse some parts of the page elsewhere. Also, it gives that little performance lift as there is no rendering to string involved. Making such parts of your app a React component just for the sake of it would yield no major benefit.
Don't pre-optimise. You could always refactor the plain HTML into a component in future if you feel it needs to be.
Maybe if you want to reuse some parts of your static site you can go for polymer. It is production ready.
Jon
ClojureScript Developer.
I prefer using React but React does not provide functions for some tags like
metaandscript, so I created my own package to reuse React's syntax(not JSX though).Example github.com/jianliaoim/talk-os/blob/master/talk-we…