-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Avoid methods in MessageValue #36
Comments
The methods on The output of |
@eemeli Sorry, I missed this response and should've responded a while ago. Why do we have both formatting methods in the options bag, as well as this? |
Here's an example message that we need to be able to support, which uses a user-provided
To allow for the |
MessageValue has a number of methods. This is different from how the rest of Intl formatToParts works, which is entirely data-based. I don't quite understand why these methods are needed, and would prefer that we reduce the overall size of the interface. I would also prefer to remove the options from the parts, out of a similar preference for minimalism.
I'm looking forward to @ryzokuken 's effort to prototype usage of the Intl.MessageFormat API in the context of rendering to styled React components, and hope this gives us more information on what's really needed.
The text was updated successfully, but these errors were encountered: