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

Clip deprecated #113

Closed
potts99 opened this issue Sep 13, 2023 · 3 comments · Fixed by #94
Closed

Clip deprecated #113

potts99 opened this issue Sep 13, 2023 · 3 comments · Fixed by #94
Milestone

Comments

@potts99
Copy link

potts99 commented Sep 13, 2023

Hiya,

Looking to use your library in a project and we've noticed some out of date things like react 16 and usage of CLIP.

https://developer.mozilla.org/en-US/docs/Web/CSS/clip

Is there any chance of getting this updated to clip-path? is there a new release coming soon i see you are working on some stuff

@nerdyman
Copy link
Owner

Hey Jack, thanks for opening the issue!

v3 uses clip-path so this should be resolved soon (probably a week or so). I've just got to sort some things with Storybook and do some perf testing and it'll be good to go. There will be a pre-release version released before the main release so I'll post here when it's released if you'd like to give it a go. The API for v3 is compatible with v2 so there shouldn't be any issues if you install v2 for now and upgrade to v3 later.

React >=16.8 is a peer dep so the lib will use whichever version of React you have installed. It should only complain if you're using a version older than 16.8, are you seeing any issues with newer versions of React?

@potts99
Copy link
Author

potts99 commented Sep 13, 2023

awesome thank you!

@nerdyman nerdyman added this to the v3 milestone Sep 14, 2023
@nerdyman nerdyman linked a pull request Sep 14, 2023 that will close this issue
Merged
21 tasks
@nerdyman
Copy link
Owner

This has been released in v3!

npm install react-compare-slider@latest
yarn add react-compare-slider@latest
pnpm install react-compare-slider@latest

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

Successfully merging a pull request may close this issue.

2 participants