HNHacker News
TopNewBestAskShowJobs

skurfuerst

9 karma · joined November 23, 2016

Consultant | Web Developer | Neos CMS Core Dev | Advancing Content Management, PHP, React
submissionscomments
skurfuerst··on Debug React Component Performance with ES7 Annotations
Hey,

Thanks, you are right!

Do you have a good suggestion on a syntax how people could use the "debugger" in a nice way? I kinda dislike first creating a component and then wrapping it completely afterwards, although that of course would work.

All the best, Sebastian

skurfuerst··on Debug React Component Performance with ES7 Annotations
Hey,

You're absolutely right; I maybe would not use this part for production. However, create-react-app also implements these decorators; and they are a quite elegant way of annotating methods or classes.

All the best, Sebastian