-
-
Notifications
You must be signed in to change notification settings - Fork 112
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
fix: carousel card component using set timeout on react18 #2534
fix: carousel card component using set timeout on react18 #2534
Conversation
…to fix-components-using-setTimeout-on-componentDidMount-in-rect18
…to fix-carousel-card-component-using-set-timeout-on-react18
Bug Fixes
Features
Tests
Chore
Contributorsyvmunayev, LeandroTorresSicilia Commit-Lint commandsYou can trigger Commit-Lint actions by commenting on this PR:
|
Visit the preview URL for this PR (updated for commit e585fcf): https://react-rainbow--pr2534-fix-carousel-card-co-sirhrjal.web.app (expires Mon, 12 Dec 2022 23:06:04 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 2de6d670498a0a515484c5637b13d0215372df83 |
@yvmunayev there are two integration tests failing |
src/libs/hooks/usePrevious.js
Outdated
const ref = useRef(); | ||
useEffect(() => { | ||
ref.current = value; | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think here you should use an array of dependencies with value
…to fix-carousel-card-component-using-set-timeout-on-react18
…8' of https://github.com/nexxtway/react-rainbow into fix-carousel-card-component-using-set-timeout-on-react18
this.startAnimation(); | ||
} | ||
} | ||
const CarouselCard = props => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Function CarouselCard
has 74 lines of code (exceeds 25 allowed). Consider refactoring.
Code Climate has analyzed commit e585fcf and detected 17 issues on this pull request. Here's the issue category breakdown:
View more on Code Climate. |
fix: #2533
Changes proposed in this PR:
fix: carousel card component using set timeout on react18
I have followed (at least) the PR section of the contributing guide.
@nexxtway/react-rainbow