Hello
I’m getting currentSlide and slideCount error when I use the carrousel, using next,js 14
Warning: React does not recognize the currentSlide
prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase currentslide
instead. If you accidentally passed it from a
parent component, remove it from the DOM element.
Warning: React does not recognize the slideCount
prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase slidecount
instead. If you accidentally passed it from a pare
nt component, remove it from the DOM element.
I’ve seen this raised over the last couple of years (Error currentSlide and slideCount - #5 by jcfuentes and Warning: React does not recognize the `slideCount` prop on a DOM element. · Issue #1195 · akiran/react-slick · GitHub and Warning: React does not recognize the `currentSlide` prop on a DOM element), and the response is that it’s about to be fixed. I take it that carousels are still broken?
Given that I’m inserting static props in a page rather than inserting a single component I can’t easily override this; is there a work-around?