ReactJS / HammerJS integration. Support touch events in your React app.
MIT License
937
stars
129
forks
source link
Warning: Hammer: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. #84
Everything works like a charm, but I get the following error in console:
Warning: Hammer: `ref` is not a prop. Trying to access it will result in `undefined`
being returned. If you need to access the same value within the child component,
you should pass it as a different prop.
I'm using:
Everything works like a charm, but I get the following error in console:
I think that React deprecated string refs and now only supports callback refs. https://facebook.github.io/react/docs/refs-and-the-dom.html#legacy-api-string-refs
Probably each instance of a string ref has to be updated to use a callback ref instead.