Support for JSX 4 #394
Replies: 2 comments
-
yes there is a plan to support new JSX, but I was waiting new versions to be available in npm. This plugin is not using LSP, and is parsing source code directly. it uses rescript binary to compile (get errors), reformat and infer types. Unfortunately the Rescript team is not releasing stable binaries and code must be adapted regularly. |
Beta Was this translation helpful? Give feedback.
-
jsx4 and rescript.json are supported starting with version 0.118 |
Beta Was this translation helpful? Give feedback.
-
Now that rescript/react 0.11+ supports JSX v4, is there a plan to add support to this plugin? The bucklescript config has changed a bit, which may be why it doesn't "just work", if the plugin is collecting error info from rescript for display in the editor. But I'm new to this plugin and to ReScript in general, so I may well have missed something big 😅
Beta Was this translation helpful? Give feedback.
All reactions