felipeochoa / rjsx-mode

A JSX major mode for Emacs
https://github.com/felipeochoa/rjsx-mode
MIT License
641 stars 32 forks source link

Add support for preact's class prop #101

Closed UwUnyaa closed 5 years ago

UwUnyaa commented 5 years ago

Unlike react, preact permits the use of a class prop for class names. rjsx-mode marks the use of the class prop as an "invalid JSX identifier" error. While this error message makes sense in the context of react, it should be possible to disable it for use with other libraries that permit this prop in JSX.

felipeochoa commented 5 years ago

Duplicate of #62