Migration

This guide should help with migration from lower major versions.
It is sorted by packages.

Table of Contents

babel-plugin-fela

1.0.15

This package has been deprecated and removed as it does not add the desired benefits.
One should remove it from their Babel config as it is no longer guaranteed to work as expected.

fela-dom

7.0.0

If you're using renderToSheetList on the server-side, you probably have to update the rendered style elements to also contain the data-fela-support attribute.

const sheetList = renderToSheetList(renderer)

const elements = sheetList.map(({ type, css, media, support }) =>
  <style
    dangerouslySetInnerHTML={{ __html: css }}
    data-fela-type={type}
    data-fela-support={support}
    key={`${type}-${media}`}
    media={media}
  />
)

fela-plugin-dynamic-prefixer

5.0.10

This package has been deprecated and removed as the dynamic version of inline-style-prefixer will no longer be maintained.
Use fela-plugin-prefixer instead.

fela-plugin-remove-undefined

5.0.21

This package has been deprecated and removed as Fela automatically removes undefined values.
One should remove it form their Fela config as it no longer required.

inferno-fela

8.0.0

In order to use inferno-fela > 8.0.0, Inferno > 4.0.0 is required.
If you can't upgrade to Inferno 4.0.0 yet, consider using inferno-fela 7.0.1.

results matching ""

    No results matching ""