asplunds / use-ripple

Fully customizable, lightweight React hook for implementing Google's Material UI style ripple effect

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Performance Bug [CRITICAL]

simxnet opened this issue · comments

commented

Every time you click the button, it creates a new ripple container
image
So if you click button so many times it will lag your website.

Hi, thanks for posting this issue. You're indeed right, after a recent API change the selector that was supposed to select the previous container was missing a dot. This has been fixed now, thank you!

To get the updated version run npm update use-ripple-hook

commented

Thanks again ^^