Skip to content

0.11.0-alpha.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@cknitt cknitt released this 19 Oct 08:54
· 68 commits to master since this release
d5d9168
  • RescriptReactErrorBoundary component now implemented using @react.component, so it is compatible with JSX V4.
  • ReactV3 module added for backward compatibility to JSX V3. See the V3 compatibility mode
  • Fixed react-dom/server and react-dom/test-utils imports.
  • Fixed createRoot bindings.
  • Added Keyboard.code binding.
  • Renamed Changes.md to CHANGELOG.md to align with the rescript-compiler repo.

Breaking:

  • IMPORTANT The React module has been modified in a breaking way to support the new JSX PPX V4.

  • Removed the deprecation attribute from apis of the new jsx transform (introduced in React v17).

  • New version requirements:

    • ReScript compiler V10.1+
    • ReactJS v18.2.0+