Kinrany / vue-p5

Vue component for p5.js
125 stars 16 forks source link

Should all props and events be `(sketch) => void`? #4

Closed Kinrany closed 6 years ago

Kinrany commented 6 years ago

Should all props and events be (sketch) => void?

Kinrany commented 6 years ago

({keyCode}) => ... is almost as simple as keyCode => .... So yes, all functions should be sketch => void.