React Native · Issue #119 · yahoo/react-intl · GitHub

  • In the FormattedDate component (date.js) the return {formattedDate}; should be replaced with a createElement function like used in the FormattedMessage component.
  • I’m planning to create a component to abstract out messages like this: https://github.com/ngduc/react-setup/blob/master/src/app/Home/messages.js
  • @gerbenupinion I don’t think using tag prefix makes sense, component is probably better.

Read the full article, click here.


@mOoot: “using react-intl in a #reactnative app is a piece of cake 🙂
#reactjs”


react-intl – Internationalize React apps. This library provides React components and an API to format dates, numbers, and strings, including pluralization and handling translations.


React Native · Issue #119 · yahoo/react-intl · GitHub