not possible to use in combination with useRef : ` const carousel = useRef(null); .... <Carousel ref={carousel} />`