Unconditionally polyfill Intl.PluralRules for native (#4554)

* Revert "Fix Android startup perf regression (#4544)"

This reverts commit e6213d7aa5.

* Force polyfill
This commit is contained in:
dan 2024-06-18 17:27:40 +03:00 committed by GitHub
parent f142339e06
commit 08cfb09589
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 1 additions and 60 deletions

View file

@ -1,5 +1,5 @@
import '@formatjs/intl-locale/polyfill'
import '@formatjs/intl-pluralrules/polyfill'
import '@formatjs/intl-pluralrules/polyfill-force' // Don't remove -force because detection is very slow
import '@formatjs/intl-pluralrules/locale-data/en'
import {useEffect} from 'react'