Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

react-native-web support #69

Open
hyunahOh opened this issue Oct 21, 2021 · 4 comments
Open

react-native-web support #69

hyunahOh opened this issue Oct 21, 2021 · 4 comments

Comments

@hyunahOh
Copy link

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 >
@chramos
Copy link
Owner

chramos commented Dec 8, 2021

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

@hexadecy
Copy link

hexadecy commented Jan 7, 2022

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

@hexadecy
Copy link

hexadecy commented Jan 8, 2022

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

@hexadecy
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants