Overview
The useWeaveEvents hook is a core utility from the Weave.js React Helper library that setups the some events in order to manage them in the internal state using the useWeave hook, the events setup are:
-
onZoomChange -
onNodesChange -
onConnectedUsersChange
Remember that in order to use the useWeaveEvents hook you need to wrap your app (or part of it) with the WeaveProvider.