re-carousel icon indicating copy to clipboard operation
re-carousel copied to clipboard

Update refs to use createRef() and callback refs

Open tsmura opened this issue 4 years ago • 0 comments
trafficstars

  • 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

tsmura avatar Feb 05 '21 16:02 tsmura