Skip to content

Commit

Permalink
add documentation note about passive listener issue (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
lpmi-13 committed Mar 22, 2020
1 parent b778889 commit 939ee9f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,16 @@ Example:
Please experiment with the [example](http://stack.formidable.com/react-swipeable/) to test `preventDefaultTouchmoveEvent`.


### passive listener issue

At the moment, the lighthouse audit is deducting 7 points from the best practices
metric for "Does not use passive listeners to improve scrolling performance".

This will not affect behavior in the application, merely the score on the lighthouse
audit.

This is currently being tracked in [issue 167](https://github.com/FormidableLabs/react-swipeable/issues/167).

### Version 5 Updates
[React hooks](https://reactjs.org/docs/hooks-reference.html) have been released with [16.8.0](https://reactjs.org/blog/2019/02/06/react-v16.8.0.html) 🎉

Expand Down

0 comments on commit 939ee9f

Please sign in to comment.