Skip to content

Releases: preactjs/legacy-compat

0.2.0

09 Feb 18:13
Compare
Choose a tag to compare
  • Bump min supported Preact version to 10.12 #9 thanks @mq2thez

0.1.10

27 May 20:58
ad5638d
Compare
Choose a tag to compare
  • Add support for rendering the values from any Immutable.Map (or any Immutable collection type) when referenced directly in JSX (#8).

0.1.9

12 May 20:06
a137d06
Compare
Choose a tag to compare
  • Add webcompat support for CSS units in width and height props for <video> and <canvas> (#6)

0.1.7

08 May 08:17
Compare
Choose a tag to compare

Alternative solution for CSS units in img.width/height #4

0.1.6

02 May 09:00
Compare
Choose a tag to compare

convert % and px in the width/height attributes for images #3

0.1.5

03 Mar 16:39
6a6059f
Compare
Choose a tag to compare
  • Fixes compatibility with ESM import React from 'react' when transpiled to CommonJS with the default interop enabled.

0.1.4

01 Mar 21:45
6307f0d
Compare
Choose a tag to compare
  • Fixes CommonJS compatibility with libraries like react-redux that explicitly check for exports.__esModule.

0.1.3

06 Feb 00:50
ea6b012
Compare
Choose a tag to compare
  • Mirror named exports as default exports to emulate how ESM usage of React relies on CJS interop:
import React, { Component } from '@preactjs/legacy-compat';

0.1.2

09 Sep 18:34
18f5a7f
Compare
Choose a tag to compare
  • Fixes the CommonJS entry to actually be CommonJS.

0.1.0

05 Sep 22:02
a7a6f90
Compare
Choose a tag to compare
readme