react-ds icon indicating copy to clipboard operation
react-ds copied to clipboard

Remove inline-elements transform

Open developit opened this issue 4 years ago • 1 comments

This transform should never be used, and is actively harmful for performance since it causes deopts within React.

In addition to being harmful in React, it also breaks Preact compatibility (here is a "patched" codesandbox, try commenting out the patch).

developit avatar Sep 23 '20 16:09 developit

@aurbano can you please review this? we are not able to use this library with preact because of this issue

silentsakky avatar Sep 23 '20 16:09 silentsakky