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.

production jsx string not correct

See original GitHub issue
in dev mode  <Pricing2 />
prod mode:  <i />

after build it remain only i

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:5

github_iconTop GitHub Comments

1reaction
rimsilacommented, Dec 14, 2021

Try using displayName for components or disable function name mangling in your minifier.

Thanks you It working now after displayName to component

Screen Shot 2021-12-14 at 5 12 29 PM
1reaction
tu4mocommented, Dec 13, 2021

Try using displayName for components or disable function name mangling in your minifier.

Read more comments on GitHub >

github_iconTop Results From Across the Web

React ${} string replacer doesn't work - Stack Overflow
I'm learning React using a textbook and the string replacer ... src="https://unpkg.com/react@16/umd/react.production.min.js"></script> ...
Read more >
JSX In Depth - React
Props Default to “True” ... In general, we don't recommend not passing a value for a prop, because it can be confused with...
Read more >
API - esbuild
This API call is used by the command-line interface if no input files are provided and the --bundle flag is not present. In...
Read more >
JSX: The Confusing Parts - React Training
Notice that the value is not a string. There are no quote marks around it. In fact, this is not valid JavaScript at...
Read more >
Handling text — strings in JavaScript - Learn web development
const string = "The revolution will not be televised."; console.log(string); ... const bigmouth = 'I've got no right to take my place…';
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