Skip to content

Consider renaming helmetJsonLdProp to a more general name / Support for NextJS #23

@sebastienlabine

Description

@sebastienlabine

Hi,

I think it would be appropriate to rename the helmetJsonLdProp to something more general as it can be with use with other libraries like next/head for the NextJS Framework. People might not know they can use the function in order to access innerHTML, because of the specifity of the name.

Example Usage with NextJS

<script type={jsonLd.type} dangerouslySetInnerHTML={{
      __html: jsonLd.innerHTML
}}></script>

I would sugget to change the name to maybe scriptJsonLdProp or headJsonLeadProp.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions