Skip to content

Mirror react-intl API #2

Description

@aeirola

First, thanks for creating this package! I've been looking for something similar ever since I started using react-intl.

As the documentation suggests this package as an replacement to react-intl, it would be really nice if it would provide the same API as the injected intl object.

So instead of formatting a message with

intl.get('SIMPLE')

it would use the same API as react-intl

intl.formatMessage({id: 'SIMPLE'})

This would make it a lot easier for existing users of react-intl to transition to this package.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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