react-intl.macro
react-intl.macro copied to clipboard
Extract react-intl messages with babel-plugin-macros.
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [lint-staged](https://togithub.com/okonet/lint-staged) | [`9.2.1` -> `9.5.0`](https://renovatebot.com/diffs/npm/lint-staged/9.2.1/9.5.0) | [](https://docs.renovatebot.com/merge-confidence/)...
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [husky](https://typicode.github.io/husky) ([source](https://togithub.com/typicode/husky)) | [`3.0.2` -> `3.1.0`](https://renovatebot.com/diffs/npm/husky/3.0.2/3.1.0) |...
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [eslint](https://eslint.org) ([source](https://togithub.com/eslint/eslint)) | [`6.1.0` -> `6.8.0`](https://renovatebot.com/diffs/npm/eslint/6.1.0/6.8.0) |...
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [conventional-changelog-cli](https://togithub.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-changelog-cli#readme) ([source](https://togithub.com/conventional-changelog/conventional-changelog)) | [`2.0.23` -> `2.2.2`](https://renovatebot.com/diffs/npm/conventional-changelog-cli/2.0.23/2.2.2) |...
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [babel-plugin-tester](https://togithub.com/babel-utils/babel-plugin-tester) | [`6.4.0` -> `6.5.0`](https://renovatebot.com/diffs/npm/babel-plugin-tester/6.4.0/6.5.0) | [](https://docs.renovatebot.com/merge-confidence/)...
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [codecov](https://togithub.com/codecov/codecov-node) | [`3.5.0` -> `3.7.1`](https://renovatebot.com/diffs/npm/codecov/3.5.0/3.7.1) | [](https://docs.renovatebot.com/merge-confidence/)...
This PR fixes edge case with `as const` typescript type modifier like this: ```ts import { defineMessages } from 'react-intl.macro'; const msg = defineMessages({ name: { id: 'common.name', defaultMessage: 'Name'...
I am using this approach as outlined in some of the answers in [here](https://stackoverflow.com/questions/39630620/react-intl-how-to-use-formattedmessage-in-input-placeholder) ``` {placeholder => } ``` However, I get this error when trying to extract the message...
I think this might be similar to #81, but I'm getting compiler errors instead of undefined keys. Passing a predefined object reference to `defineMessages` fails, I'm guessing the code isn't...