legacy-compat

React 15 compatibility layer for Preact

MIT License

Downloads
28
Stars
16
Committers
3

Bot releases are visible (Hide)

legacy-compat - 0.2.0 Latest Release

Published by JoviDeCroock over 1 year ago

  • Bump min supported Preact version to 10.12 #9 thanks @mq2thez
legacy-compat -

Published by developit over 3 years ago

  • Add support for rendering the values from any Immutable.Map (or any Immutable collection type) when referenced directly in JSX (#8).
legacy-compat -

Published by developit over 3 years ago

  • Add webcompat support for CSS units in width and height props for <video> and <canvas> (#6)
legacy-compat - 0.1.7

Published by JoviDeCroock over 3 years ago

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

legacy-compat - 0.1.6

Published by JoviDeCroock over 3 years ago

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

legacy-compat -

Published by developit over 3 years ago

  • Fixes compatibility with ESM import React from 'react' when transpiled to CommonJS with the default interop enabled.
legacy-compat -

Published by developit over 3 years ago

  • Fixes CommonJS compatibility with libraries like react-redux that explicitly check for exports.__esModule.
legacy-compat -

Published by developit over 3 years ago

  • Mirror named exports as default exports to emulate how ESM usage of React relies on CJS interop:
import React, { Component } from '@preactjs/legacy-compat';
legacy-compat -

Published by developit about 4 years ago

  • Fixes the CommonJS entry to actually be CommonJS.
legacy-compat -

Published by developit about 4 years ago