Skip to content

v0.7.0

Compare
Choose a tag to compare
@shadaj shadaj released this 20 Dec 21:05

Highlights 🎉

  • Added preliminary Scala 3 support PR #494
    • no @react/Props-apply sugar
    • expected to require -source:3.0-migration and produce warnings
    • may not encode the same props in the same way as Scala 2 version due to different encoder generation mechanism.

Breaking Changes ⚠️

  • Dropped Scala.js 0.6 and upgraded 1.x line to 1.6.0 to simplify building with Scala 3 PR #494
  • Updated scalajs-dom to v2.0.0 which is cross-published for Scala 3 PR #511

Bug Fixes 🐛

  • Support returning js.Function as the cleanup handler for effect hooks PR #525
  • Support using React.memo on a component created with React.forwardRef PR #530
  • Support the dependencies parameter of useImperativeHandle PR #531