react-native-skeleton-placeholder icon indicating copy to clipboard operation
react-native-skeleton-placeholder copied to clipboard

react-native-web support

Open hyunahOh opened this issue 3 years ago • 4 comments

Do you have plan to support react-native-web? or Is it my configuration issue? I got below issue. Could you please check this if it's my configuration issue?

ERROR in ./node_modules/react-native-skeleton-placeholder/lib/SkeletonPlaceholder.js 73:24
Module parse failed: Unexpected token (73:24)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
|             if (child.props.children) {
|                 console.log(react_native_1)
>                 return (<react_native_1.View >

hyunahOh avatar Oct 21 '21 06:10 hyunahOh

hey @hyunahOh would be great to have react-native-web support. I can take a look later. Unfortunately I'm really busy in my projects. In few days I'll be in vacation so I'll have some days free to check all issues

chramos avatar Dec 08 '21 12:12 chramos

It was working with 2.0.11, it breaks with version 3.

hexadecy avatar Jan 07 '22 20:01 hexadecy

For the Unexpected token error, add this node module to your babelLoaderConfiguration. https://necolas.github.io/react-native-web/docs/multi-platform/

hexadecy avatar Jan 08 '22 19:01 hexadecy

This will help: https://github.com/react-native-masked-view/masked-view/pull/175 One thing I noticed is that the animation doesn't work on the Web.

hexadecy avatar Oct 21 '22 12:10 hexadecy