8000 add displayName property to react generated functions · Issue #4 · jeffbski/autoflow · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

add displayName property to react ge 8000 nerated functions #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jeffbski opened this issue Feb 7, 2012 · 2 comments
Open

add displayName property to react generated functions #4

jeffbski opened this issue Feb 7, 2012 · 2 comments

Comments

@jeffbski
Copy link
Owner
jeffbski commented Feb 7, 2012

By setting displayName property on react generated functions, the anonymous functions can have meaningful names in the debugger and for profiling.

http://www.alertdebugging.com/2009/04/29/building-a-better-javascript-profiler-with-webkit/
http://pmuellr.blogspot.com/2009/06/debugger-friendly.html

@jeffbski
Copy link
Owner Author
jeffbski commented Feb 7, 2012

Similarly add sourceURL property as well, for Firefox debugging support.

@jeffbski
Copy link
Owner Author

Thanks.

On Wed, Jan 22, 2014 at 6:44 AM, Sébastien Lorber
notifications@github.comwrote:

@jeffbski https://github.com/jeffbski hello,

It seems fixed according to the JSX compiler:
http://facebook.github.io/react/jsx-compiler.html


Reply to this email directly or view it on GitHubhttps://github.com//issues/4#issuecomment-33018228
.

Jeff Barczewski
Founder of CodeWinds
http://codewinds.com/
Web developer training - screencasts, ebooks, webinars

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0