-
Notifications
You must be signed in to change notification settings - Fork 249
Where to add idle event in the react #4
Comments
👋 @MikeChenfu can you share a code example and what example you tried this from? My guess is that your version of |
Thanks @tristen for the quick reply. I have done a demo without react. Currently, I am moving my mapbox+js into the react framework. Here is my code. Html:
Js
When I run this demo, there is no any output about |
My guess is that your version of |
Thanks @tristen. I have updated it to the latest version. However, it still has the same problem. In the package.json
Html
|
I try the
|
@tristen I have solved this problem. I updated the package file but does not install it. New package works well. Thanks for your kind help. |
Hello, I try adding idle event into the react componentDidMount() or componentDidUpdate(). However, it seems to not work. I appreciate if anyone can help me.
The text was updated successfully, but these errors were encountered: