Recibí un error en mi aplicación que dice que **formaTtoParts** no está definido
TypeError: Intl.NumberFormat(t,{minimumFractionDigits:2}).formatToParts is not a function. (In 'Intl.NumberFormat(t,{minimumFractionDigits:2}).formatToParts(ri(e))', 'Intl.NumberFormat(t,{minimumFractionDigits:2}).formatToParts' is undefined) browser.name: Mobile Safari UI/WKWebView device: iPhone interface_type: exception os: iOS 12.5.5¿Es posible encontrar un polyfill para una solución alternativa que admita la versión anterior de Safar de 13?
https://formatjs.io/docs/react-intl/components#formattednumberparts
React Intl has a set of React components that provide a declarative way to setup an i18n context and format dates, numbers, and strings for display in a web UI. The components render React elements by building on React Intl's imperative API. esto podría ayudarnos en el dispositivo cuando Intl.NumberFormat.prototype.formatToParts no es compatible
Aquí está el archivo para verificar más detalles sobre la implementación: FormatNumericToParts.ts
Además, también puede usar @formatjs como polyfill
import '@formatjs/intl-numberformat/polyfill' import '@formatjs/intl-numberformat/locale-data/en' // locale-data for en