react native web issue

Please provide the following:

  1. SDK Version: 44
  2. Platforms(Android/iOS/web/all): all
  3. react native web
    when i run this command to run app in web i get this error
    TypeError: Cannot read properties of undefined (reading ‘style’)

Replace this section with as much relevant information as possible and any relevant code along with your question.

Hey @amakary, react-native-snap-carousel library doesn’t support web as there is an open issue about it in it’s GitHub repo: Make the plugin compatible with `react-native-web`? · Issue #389 · meliorence/react-native-snap-carousel · GitHub.

You’ll have to look for an alternative such as GitHub - reactrondev/react-native-web-swiper: Swiper-Slider for React-Native and React-Native-Web if you are looking for a universal library that works on all platforms.

1 Like

any ideas about this ? it gives me blank page

Where you able to successfully create a carousel that worked on Android or your emulator cause I tried it some weeks ago & I couldn’t achieve anything.

The documentation was really bad

Can you please give me context on when are you getting this error?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.