Skip to content

Safari: React-Intl warning #17

Open
@ngduc

Description

@ngduc
Owner

Fix this:
Safari: React-Intl warning

"Invariant Violation: [React Intl] The Intl APIs must be available in the runtime, and do not appear to be built-in. An Intl polyfill should be loaded.
See: http://formatjs.io/guides/runtime-environments/"

Activity

self-assigned this
on Apr 25, 2016
ngduc

ngduc commented on Apr 25, 2016

@ngduc
OwnerAuthor

http://formatjs.io/guides/runtime-environments/#polyfill-browsers
"The Intl APIs are currently available on all modern browsers except Safari"

"It is recommended that you separate the Intl polyfill from your app's JavaScript code bundle so the polyfill is only loaded in the browsers which need it."

Polyfill can be found here:
https://github.com/andyearnshaw/Intl.js

Plan to fix: server can detect if the Client browser is Safari, then include the polyfill as a script tag.

added this to the 2016-07 milestone on Jun 15, 2016
changed the title [-]Safari: React-Intl warning[/-] [+]Safari: React-Intl warning 2D[/+] on Jun 17, 2016
changed the title [-]Safari: React-Intl warning 2D[/-] [+]Safari: React-Intl warning[/+] on Jun 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @ngduc

      Issue actions

        Safari: React-Intl warning · Issue #17 · ngduc/react-setup