Skip to content

Allow explicit <Chunk contentKey /> #10

@ericclemmons

Description

@ericclemmons

Rather than computing automatically, this would allow for key-based translations to be passed in:

<Chunk contentKey="home.greeting">{t('home.greeting')}</Chunk>

I still recommend letting the content itself become the key, but this helps disambiguate when strings are the same but in different contexts (e.g. Sign Up buttons on different product plans)

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