Releases: preactjs/legacy-compat
Releases · preactjs/legacy-compat
0.2.0
- Bump min supported Preact version to 10.12 #9 thanks @mq2thez
0.1.10
- Add support for rendering the values from any
Immutable.Map
(or any Immutable collection type) when referenced directly in JSX (#8).
0.1.9
- Add webcompat support for CSS units in
width
and height
props for <video>
and <canvas>
(#6)
0.1.7
Alternative solution for CSS units in img.width/height #4
0.1.6
convert % and px in the width/height attributes for images #3
0.1.5
- Fixes compatibility with ESM
import React from 'react'
when transpiled to CommonJS with the default interop enabled.
0.1.4
- Fixes CommonJS compatibility with libraries like
react-redux
that explicitly check for exports.__esModule
.
0.1.3
- 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
- Fixes the CommonJS entry to actually be CommonJS.