Hey there, this project is awesome.
Anyway, I think it would be nice to have / use react-helmet as HOC.
@helmet(props => ({ title: `${props.user.name}'s profile` }))
class HomeView extends Component {
Why?
I don't really want to pollute my render, and I think it would be easier where the page title lies.
As a decorator, yes, that's an interesting idea. PRs are welcome!
No problem, but can we keep this issue open til the PR is merged (so I don't forget; or if anybody else wants to take on the issue)?
Yes, I will mark this as a feature request and leave it open.
@srph Do you need only document title? Have you taken a look at https://github.com/gaearon/react-document-title?
If that doesn't suit your needs, I'm interested to work on this.
Any news on this? helmet as decorator would be awesome
Agreed! HOC.
+1
Closing - This issues is over a year old. If needed please feel free to file a new issue.
Most helpful comment
Agreed! HOC.