A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/alibaba/react-intl-universal/issues/2 below:

Mirror react-intl API · Issue #2 · alibaba/react-intl-universal · GitHub

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.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4