What's the most recent right way to add event to a mesh

As of 2019, what’s the right way to add event listeners?
I saw posts online mentioned threex-domevents, while checked this repo and last commit is 3 years ago. just curious. Thank you for any input in advance!!

The events provided by threejs will follow this pattern:

https://threejs.org/docs/#api/en/core/EventDispatcher

That’s certainly not to say it’s the only way to do this, or the best for every situation. If you’re using libraries like three-react-fiber or ecsy then their state management systems will probably include other ways of triggering events.

Thank you @donmccurdy. Ha, I actually am using Vue.js with three’s npm package. (i though it’s called react-three-fiber :slight_smile: ) EventDispatch seems complicated than threex domevent package…my 2 cents…