-
Notifications
You must be signed in to change notification settings - Fork 44
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
Bug: 应动态设置页面标题 #438
Milestone
Comments
如果只改 title 可以只在 useEffect 改 document.title |
不能每个地方都写一遍吧,得封装一下 |
对,可以封装成一个 hook |
helmet 也行吧,不知道以后会不会有定制 head 内 tag 的场景 但为啥这不是原始的 react-helmet? |
现在不同页面会有不同的 meta title 和 meta description 之类的,为了 SEO 的话也是需要的吧
这个貌似不维护了…… |
github-actions
bot
modified the milestones:
0.0.0-alpha.1,
next,
0.0.0-alpha.2,
0.0.0-alpha.3
Mar 27, 2023
Merged
收到通知时给标题加上一个 |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
每个页面应该设置不同的标题
不知道除了 react-helmet 之外还有没有更好的办法?
The text was updated successfully, but these errors were encountered: