catamphetamine / react-pages

A complete solution for building a React/Redux application: routing, page preloading, (optional) server-side rendering, asynchronous HTTP requests, document metadata, etc.
MIT License
176 stars 29 forks source link

Custom html template #33

Closed londonbarrett closed 7 years ago

londonbarrett commented 7 years ago

Hello,

I need to use a custom html template for serving the pages, is this possible?

catamphetamine commented 7 years ago

What makes it custom?

londonbarrett commented 7 years ago

It is a very large template that comes from a CMS and it needs to be fetched on every request.

catamphetamine commented 7 years ago

The only possibility to use a custom template is through the html.head, html.bodyStart and html.bodyEnd parameters (see the README)

londonbarrett commented 7 years ago

You should consider this option

catamphetamine commented 7 years ago

No, I guess I won't

londonbarrett commented 7 years ago

and your bad attitude :)

catamphetamine commented 7 years ago

Oh and you could stop judging people by your own standards as well. Or do you think the world must be the way you want it to be just because you want it to?