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.
Unlike react, preact permits the use of a
class
prop for class names.rjsx-mode
marks the use of theclass
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.