oliviertassinari / react-swipeable-views

A React component for swipeable views. :snowflake:
https://react-swipeable-views.com/
MIT License
4.46k stars 480 forks source link

Update to be used along with react 18 #663

Closed michalstrzelecki closed 2 years ago

rmelnychuk commented 2 years ago

Upvote!

ghost commented 2 years ago

upvote

progdog-ru commented 2 years ago

Please, update it ๐Ÿ™

michalstrzelecki commented 2 years ago

Is it a legacy package?

Please update its dependencies.

I want to use it with react 18.

kvintanaka commented 2 years ago

This package is mentioned in a demo for Material UI (MUI) here: https://mui.com/material-ui/react-stepper#text-with-carousel-effect, and several other popular apps.

So, upvote for React 18!

codelikepro22 commented 2 years ago

Any update?

aviyi commented 2 years ago

Any update?

jacobdmn commented 2 years ago

Any updates guuuuys??

jacobdmn commented 2 years ago

๐ŸŸข a solution that might help: ===> ADD --legacy-peer-deps to your building command in your workflow ! https://stackoverflow.com/questions/66020820/npm-when-to-use-force-and-legacy-peer-deps/66035709#66035709

aviyi commented 2 years ago

Any updates?

Mishhub commented 2 years ago

Is it a legacy package?! I'm getting dependency errors in react 18!

codelikepro22 commented 2 years ago

react-swipeable-views is a nice package but it is not working with React18, so we replaced it with new package on this tutorial video: https://www.youtube.com/watch?v=n0Rl-SsTVKc&feature=youtu.be

progdog-ru commented 2 years ago

react-swipeable-views is a nice package but it is not working with React18, so we replaced it with new package on this tutorial video: https://www.youtube.com/watch?v=n0Rl-SsTVKc&feature=youtu.be

love you!

skrln commented 2 years ago

Someone made a PR to make it React18 compatible, but it hasn't been merged yet. Let's go upvote that PR! https://github.com/oliviertassinari/react-swipeable-views/pull/668

dc198689 commented 2 years ago

Oh my god, I am stuck at this issue ... @oliviertassinari , any idea ?

BenoitEirik commented 2 years ago

Tip: Here's what you can do while you wait:

  1. Download https://github.com/ramsesndame237/react-swipeable-views/tree/master/packages/react-swipeable-views folder and place it somewhere in your project
  2. Do npm install ./your-path/react-swipeable-views
  3. Import like this: import SwipeableViews from './your-path/react-swipeable-views/src';

Something strange, I don't know why I can't import directly like this: import SwipeableViews from 'react-swipeable-views'; If anyone know

samislam commented 2 years ago

It's 5 months and the package isn't supporting react 18 yet.

aash-hepta commented 2 years ago

upvote

color4pen commented 2 years ago

upvote

christopher-caldwell commented 2 years ago

This package is no longer being maintained, it seems.

johnpaulmarino commented 2 years ago

my friends. Is there any solution to this?

dyaa commented 2 years ago

My 1ยข option, This repo should be archived and we should look for a replacement that's still maintained and work with React@18.*

codelikepro22 commented 2 years ago

https://www.youtube.com/watch?v=n0Rl-SsTVKc&feature=youtu.be

oliviertassinari commented 2 years ago

I'm closing as fixing this issue a non-goal per https://github.com/oliviertassinari/react-swipeable-views/issues/676

acamara2016 commented 1 year ago

sad ending ๐Ÿ˜ข

sunil-well commented 1 year ago

any solution yet ?

acamara2016 commented 1 year ago

I ended up using this library. https://www.npmjs.com/package/react-slick

younglecturer7 commented 3 months ago

Please someone should help me with any available packages that I can use in replace of react swipeable view for react 18. Thanks