decosoftware / decosoftware/deco-ide
[CodeMirror] Pre-Bound Methods and Props
- Dominant language
- JavaScript
- Stars
- 5.8k
- Forks
- 300
- PR merge metrics
- No merged PRs in 30d
Description
It seems that in JSX without using _this._ in front of a method call, or prop, highlighting is ignored. When working with stateless components, and pre-binding functions, the need for the scope parenting of _this_, is no longer mandatory. We can also see the same behavior in methods, where we would use such syntax with Redux action creators.

I'm pretty sure I'm forgetting another application, and I hope to remember it later.
My curiosity is piqued on this one, since this also applies to props. Highlight anything in between braces in the JSX, and anything with a parens outside of JSX?
Contributor guide
Assessment
This issue has not been assessed yet.