-
Notifications
You must be signed in to change notification settings - Fork 94
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
feat: new hook useTitle
#68
Conversation
Codecov Report
@@ Coverage Diff @@
## master #68 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 26 27 +1
Lines 355 368 +13
Branches 69 72 +3
=========================================
+ Hits 355 368 +13
Continue to review full report at Codecov.
|
20c19e3
to
665d454
Compare
915282c
to
5369a94
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, I think we should include a link to https://github.com/nfl/react-helmet in case they want to use something more powerful. Maybe we should come up with a formal way to include alternatives in our docs? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See above
It actually works, buuuut, the document page is inside iframe = About alternatives not from this package - not sure that we should share traffic, despite the fact that we almost have none %) |
That probably makes that a bad example lol. Anything we can do to make it better? |
Nothing while using storybook, attempt to make it handle iframes will be quite bad idea, since react render flows are not aligned between parrent and child frame. |
@JoeDuncko added notification about not working story. |
# [1.23.0](v1.22.0...v1.23.0) (2021-05-25) ### Features * new hook `useTitle` ([#68](#68)) ([84e4cbf](84e4cbf))
🎉 This PR is included in version 1.23.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
i want's the hook can rename to |
Actually this is a good idea |
What new hook does?
Sets title of the page.
Checklist
react-use
#33