Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] issue #38 - Use react-tunnels to update App Title #48

Merged
merged 1 commit into from
Feb 16, 2018

Conversation

denihs
Copy link
Contributor

@denihs denihs commented Feb 16, 2018

No description provided.

@denihs denihs merged commit c693504 into CodeFTW:master Feb 16, 2018
@denihs denihs changed the title Add feature dynamic Tunnel in the application [FIX] issue #38 - Use react-tunnels to update App Title Feb 16, 2018
import { Tunnel } from 'react-tunnels';

export const updateAppTitle = title => (
<Tunnel id="app-title">{title || 'Future Web'}</Tunnel>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why don't you update the window.title too? It's good for browser history and Google Analytics ;)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahhhh haha, I didn't know that

Copy link
Contributor

@filipenevola filipenevola left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants