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
Maybe the solution already exists, but I could not find it
Reacted by Mikhail Lapshin, Evgeny Cherkasov, Dave Cardwell, Konstantin, Donald Pipowitch, Amin Pakseresht, Peter Mikitsh, roman, Michael Cohen, Engin Semih Basmacı and 4 more
Hey @StipJey! We really appreciate you taking the time to report an issue. The collaborators
on this project attempt to help as many people as possible, but we're a limited number of volunteers,
so it's possible this won't be addressed swiftly.
If you need any help, or just have general Babel or JavaScript questions, we have a vibrant Slack
community that typically always has someone willing to help. You can sign-up here
for an invite.
Thank you @donaldpipowitch for a great work! This solved the problem with our shared components library where Enzyme shallow renderer took component names from obfuscated code.
Activity
babel-bot commentedon Sep 21, 2018
Hey @StipJey! We really appreciate you taking the time to report an issue. The collaborators
on this project attempt to help as many people as possible, but we're a limited number of volunteers,
so it's possible this won't be addressed swiftly.
If you need any help, or just have general Babel or JavaScript questions, we have a vibrant Slack
community that typically always has someone willing to help. You can sign-up here
for an invite.
emersonlaurentino commentedon Oct 15, 2018
@StipJey I think this solves it: @babel/plugin-transform-react-display-name
StipJey commentedon Oct 22, 2018
Unfortunately, this does not solve the problem. This preset works with the
creatReactClassand not withReact.createElementisaachinman commentedon Dec 10, 2019
Is there any update on options that are available to devs for this use case?
donaldpipowitch commentedon Dec 10, 2019
I started working on something. It should be quite easy to extend, PR welcome. https://github.com/prisma-capacity/babel-plugin-react-display-name
igorpupkinable commentedon Feb 14, 2021
Thank you @donaldpipowitch for a great work! This solved the problem with our shared components library where Enzyme shallow renderer took component names from obfuscated code.
donaldpipowitch commentedon Feb 15, 2021
I'm happy that this package was useful :)