Suggestion: provide mechanism like initializeNumberFormatting for NumberFormat to minimize JS code #17420
Labels
area-pkg
Used for miscellaneous pkg/ packages not associated with specific area- teams.
This issue was originally filed by @tomyeh
The current implementation of NumberFormat will generate symbols of all supported languages into JS file. It is about 24KB. Though not very big, it will be better if it can be implemented like what DateFormat is -- using en_US as default, and loading other symbols with initDateFormatting and other methods. Thus, the application can implement lazy load and other mechanism to minimize the JS code size.
The text was updated successfully, but these errors were encountered: