solid-three
solid-three copied to clipboard
Validate props and throw helpful errors
@vorth was having issues with an unsupported event from react-three-fiber (onPointerOver). This caused an error with a cleanup function. We should handle these types of errors more gracefully.
Specifically, inside createEvents, the addEventListener function simply returns undefined if type doesn't match any known value. It should throw an error with "unknown event type" or similar.