-
Notifications
You must be signed in to change notification settings - Fork 77
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
fluent-react: Make getMessageContext async #100
Comments
@hkasemir - did you said you had an idea how to approach this? |
I got curious: what would it take to add support for async iterables to I needed to make a few changes to I also revived the discussion in #133 because ultimately, this boils down to which browsers we want I might not be able to make my PoC into a landable PR due to other commitments but I'll be more than happy to mentor someone who'd like to own this feature. |
I opened a WIP PR with a proposed solution to this: #223. |
It would be great to allow async iterables returned by
generateMessages
. We'd need to movel10n.getMessageContext
out ofLocalized.render
and possibly cache it?fluent.js/fluent-react/src/localized.js
Line 111 in beabada
The text was updated successfully, but these errors were encountered: