Uploaded image for project: 'ui-myprofile'
  1. ui-myprofile
  2. UIMPROF-28

My Profile: Use documented react-intl patterns instead of stripes.intl

    XMLWordPrintable

    Details

    • Template:
    • Sprint:
      stripes-force Sprint 52
    • Story Points:
      2
    • Development Team:
      Stripes Force

      Description

      Retrieving the intl object from this.context.intl or the stripes god object (stripes.intl) is a deprecated pattern.

      Update this repo to only use react-intl constructs outlined at https://github.com/folio-org/stripes-core/blob/master/doc/i18n.md

      Use <FormattedMessage>, <FormattedDate>, and <FormattedTime>. The functions-only react-intl API - formatMessage(), formatDate(), and formatTime() (accompanied by injectIntl) - shouldn't be needed.

      React Intl docs: https://github.com/yahoo/react-intl/wiki

        TestRail: Results

          Attachments

            Activity

              People

              Assignee:
              anastasia_hahanova Anastasia Hahanova
              Reporter:
              cherewaty Jeffrey Cherewaty
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  TestRail: Runs

                    TestRail: Cases