You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -146,3 +146,7 @@ There are some examples under the [`examples`](./examples) folder for reference.
146
146
* Pass `locale` in `props`.
147
147
* Set `key` when dispatching `updateIntl`.
148
148
* Provide custom `intlSelector` for `IntlProvider`.
149
+
150
+
2. How to use `intl` in asynchronous action?
151
+
152
+
A simple solution would be retrive `intl` object using [`injectIntl`](https://github.com/yahoo/react-intl/wiki/API#injection-api) and pass it in the action payload.
0 commit comments