react-static-boilerplate icon indicating copy to clipboard operation
react-static-boilerplate copied to clipboard

Page titles not showing

Open bellizio opened this issue 8 years ago • 1 comments

First off, thank you for developing this! I've been trying to wrap my head around React client vs server side rendering (w/r/t static sites) for days now and this app is certainly a helpful resource.

One question though: Is there a way to get the corresponding page titles for the home and about pages to show when running the development server?

I see it is currently hardcoded in server.js.

bellizio avatar Jul 20 '16 17:07 bellizio

Thanks @bellizio, I'm glad you're finding use in this. I've become somewhat obsessed with the benefits of rendering sites in this way, since it gives most (if not all) of the benefits of server side rendering without the need for a server.

This issue brings to mind a bug I've seen where my titles aren't rendering at all (even in prod). I've opened a separate issue about that here https://github.com/iansinnott/react-static-webpack-plugin/issues/9.

This is a good idea for an enhancement which could be added to this repo.

iansinnott avatar Jul 30 '16 22:07 iansinnott