-
Notifications
You must be signed in to change notification settings - Fork 34
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
Support cascading tags #11
Comments
Does this issue mean such api? <Head>
<title></title>
<meta />
</Head> |
It means something like this: <div>
<Title>Some upper title</Title>
<div>
<div><Title>Some nested title</Title></div>
</div>
</div> Once the rendering is done, the "winning" Title should be |
What is the current behaviour? The winner is the first one? |
Yes, I believe so |
I checked it. Seems like it is browser behaviour. They love to make things harder. |
Ref #11 This PR is cascading titles MVP. My project requires similar to helment behaviour for titles.
Ref #11 This PR is cascading titles MVP. My project requires similar to helment behaviour for titles.
Ref #11 This PR is cascading titles MVP. My project requires similar to helment behaviour for titles.
Cascading is supported for |
Ref tizmagik#11 This PR is cascading titles MVP. My project requires similar to helment behaviour for titles.
Is there a way to about some Links to be duplicated, especially canonical?
|
@juan-bastidas mind creating a new issue? I'm not sure what's the use case to avoid duplicate canonical links -- that's not typically a tag that needs to cascade, but I'd be happy to review your use case in more detail in a new issue. |
Sorry, I was about to upload a demo project when I found that it was due to an error in my side, react-head is OK |
A potentially useful feature is the ability to support cascading tags with the same
tag
and/orname
attribute.This may be just a matter of collecting tags to an associative array (object) where the key is the tag name and then overriding previously collected tags as the components render in order.
Similar functionality exists in react-helmet which is inspiration for this library to begin with
The text was updated successfully, but these errors were encountered: