issues
search
amio
/
re-carousel
Minimal carousel component for React.
https://amio.github.io/re-carousel/
273
stars
50
forks
source link
Update refs to use createRef() and callback refs
#140
Open
tsmura
opened
3 years ago
tsmura
commented
3 years ago
Use React.createRef() for the wrapper ref
Use a callback ref (setFrameRef) for the frame refs
This removes the warnings about using legacy string ref API, in React StrictMode
For more info, see
React documentation