Comments (3)
@5tormTrooper Please show me the Reproduction Repository?
from babel-plugin-react-intl-auto.
@5tormTrooper You've mentioned problem with <FormattedMessage />
component, while the error shows incorrect form of the object passed to defineMessages. It looks like babel does not tranform your code with react-intl-auto OR that plugin tries to run it to late.
from babel-plugin-react-intl-auto.
Hmm... I may have simillar issue right now, tho π
In our project we use flow to manage typing. While running dev-server everything is ok (but then I don't run flow check AND run babel). During flow check (on raw source code), it actually throws error (it's not suprising tho). I have a workaround with defineMessages wrapper with //$FlowFixMe, but I'm open to any suggestions how to do it right π
from babel-plugin-react-intl-auto.
Related Issues (20)
- Plugin doesnβt work with `.tsx` files, but does work for `.jsx` HOT 2
- Ids are missing if the FormattedMessage uses the same defaultMessage
- useKey option with intl.formatMessage method's descriptor parameter lost key property at typescript. HOT 2
- Doesnβt work with `[email protected]` HOT 6
- ID didn't pass to FormattedMessage HOT 2
- Intl.formatMessage method not working because it's not extracted?
- Missing translation when using filebase true
- Action Required: Fix Renovate Configuration
- Can't use babel-plugin-react-intl-auto with typescript HOT 2
- Fix dependencies HOT 1
- [feature] Dynamic ids HOT 2
- Production build failing when using with create-react-app HOT 1
- Usage with gatsby-plugin-intl is not working HOT 2
- [feature] support `require()` statements HOT 1
- Issues using with jest and functional components in react-intl 3 HOT 4
- defineMessages isn't parsed when saved in a ts file build with parcel-builder HOT 4
- Add useKey support to intl.formatMessage HOT 2
- Plugin attempts to add id to function parameters. HOT 2
- defineMessages does not handle number as keys HOT 1
- Unexpected crash when using useIntl()
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from babel-plugin-react-intl-auto.