Skip to content

Unable to update state when redirecting from one page to another page using SSR and CSR #253

@sanket-dhamgaye

Description

@sanket-dhamgaye

My home page has multiple alternate links. When I navigate from the CSR home page to another page that has its own alternate links, they work fine. However, for pages that don’t have alternate links, the alternate links from the home page are being carried over.

<Helmet> {alternateLinks.map((item, index) => ( <link key={href-lang-${item?.langCode}-${index}} rel="alternate" hrefLang={item?.langCode} href={item?.langUrl} /> ))} </Helmet>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions