question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

<Trans id={'msg.id'} /> does not work

See original GitHub issue

CLI extract parser does not handle attributes wrapped in curly brackets.

This works

<Trans id="msg.id" />

This works

<Trans id='msg.id' />

This does not work

<Trans id={'msg.id'} />

I can make a PR if you’d like, just point me in the right direction.

I assume we need to add support in babel-plugin-extract-messages, right?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
tricoder42commented, Jun 12, 2018

Fixed in 2.1.2, thanks!

1reaction
machourcommented, Mar 18, 2018
Read more comments on GitHub >

github_iconTop Results From Across the Web

Transgender People and ID | American Civil Liberties Union
The ACLU is working to lessen or get rid of the hurdles transgender people face in securing identity documents with the name and...
Read more >
Why Transgender People Suffer from 'ID Anxiety' - TIME
For many transgender people, anxiety can be a daily occurrence, especially when it comes to traveling and driving.
Read more >
My ID, my identity? The impact of ID systems on transgender ...
Having an ID that does not reflect their actual identity can also have a serious negative impact on trans people's mental health as...
Read more >
Is having to show your ID uncomfortable? : r/asktransgender
It can be yes, because we can have situations where our ID *does not match* our appearance in any real serious manner. There...
Read more >
bpq32@groups.io | Beacon Vs ID
If someone connects to your alias, the packets will contain that, not your callsign. ... There is no need for a separate ID...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found