-
Couldn't load subscription status.
- Fork 419
Description
Problem Description
When I faced the need to use the Intl.ListFormat and Intl.NumberFormatOptions methods, I could not understand why the library had wrappers for NumberFormatOptions and DateTimeFormatOptions, but no ListFormat. I had to spend time to find #2223, but it seems that there is no final solution. New methods are not added, and old method wrappers remained in i18n for current version of lingui.
The main problem is wasting time on research and misunderstanding the best practices that should be used in your project.
Proposed Solution
I suggest marking the wrapper methods over Intl as deprecated via JSDoc for a while, and removing them in the next major. Also write a comment about this in the documentation, that the recommended way is to use Intl methods directly.
Alternatives Considered
Maybe you could just add to the documentation an explanation of why only two Intl methods have wrappers.
P.S: if we reach an agreement, I can help and create a pull request.