Skip to content

JSX text improvements

Compare
Choose a tag to compare
@felipeochoa felipeochoa released this 08 Aug 13:50
· 64 commits to master since this release

The new release adds two improvements to rjsx's handling of JSX text sequences:

  • A text-specific syntax table is used, so contractions won't mess up bracket matching
  • JSX text is now fontified as a string (which is what it desugars into)

I suspect the latter change may not be welcome by everyone (hence the minor bump), but it can be easily fixed by customizing the rjsx-text face. E.g., you can remove the :inherit property to revert to the old look.