Fixing deprecated UNSAFE_* warnings in the console
-
Removing all the UNSAFE_* calls and replacing them with mixed usage of :
-
componentDidUpdate -
getSnapshotBeforeUpdate -
constructor
-
-
Adapting one test to reflect the change
Hi @oliviertassinari , could you please take a look? π
Bump Please merge when possible, I am migrating from React 16.x to 17.x in order to support new MUI(-x) ;)
π
A merge would be lovely ;)
I wholehartedly concur
I have published this PR on NPM if that can be useful for anyone. Add it like this in your package.json:
"react-swipeable-views": "npm:@gromy/react-swipeable-views@^0.15.1",
@Grsmto thanks, but your fork throws this:
Module not found: Error: Can't resolve 'react-swipeable-views-core' in '.../react-swipeable-views/lib'
rm -rf node_modules and lock file doesnβt help.
@nevolgograd could you try again with 0.15.1?
@Grsmto noice, error gone. Thanks!
@Grsmto @korbav is it possible to fix unsafe methods for react-swipeable-views-utils also? There are only two of them for each util.
Would really appreciate it.
@Grsmto @korbav is it possible to fix unsafe methods for
react-swipeable-views-utilsalso? There are only two of them for each util. Would really appreciate it.
@nevolgograd This PR already includes a fix for it
https://github.com/korbav/react-swipeable-views/blob/edf1e98210a20a5dab80aa96fc16cf5acfb850eb/packages/react-swipeable-views-utils/src/virtualize.js#L29-L50
any chance we could get a merge on this?
@oliviertassinari hey man, would be cool to merge this finally <3 thanks
Bumping this, so it gets merged
why is this pr still not merged? im confused... π’
Hello! π Its me, the weekly merge reminder.
@oliviertassinari can you merge this PR or assign someone to merge? A lot of developers are passionate about this issue and are waiting for a merge, thank you π
Can we merge please :) @oliviertassinari
Hi guys, can we please get this merged!
MERGE THIS
I have nothing but love for the folks behind this package, but I had to drop this dep.
Its outdated, and in my opinion, deprecated.
PS: I used CSS Scroll Snapping to accomplish something similar in my app.
Much love to everyone
I'm closing per https://github.com/oliviertassinari/react-swipeable-views/issues/676, thanks for having a look at it.
why not merge it
NPM supports installing from git repos;
example:
npm i --save-dev oliviertassinari/react-swipeable-views#pull/654/head --force
I have published this PR on NPM if that can be useful for anyone. Add it like this in your package.json:
"react-swipeable-views": "npm:@gromy/react-swipeable-views@^0.15.1",
Thanks man!
kmx kxm?! why current PR is closed?