Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Can't add attributes to ReactInitJavaScript script tag #334

Closed
@wub

Description

@wub

We'd like to be able to add extra attributes to the ReactInitJavaScript tag:

Current output:
<script>ReactStuff()</script>

Possible desired output:
<script nonce="Fo0/B4r">ReactStuff()</script>

If it's a simple case of adding another parameter to the helper, and adding more to the TagBuilder, I'm happy to take a stab at this.

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