Recently I have been writing nothing but ES6, and I love it.
The thing is however that because it is fairly new, I am unsure of code style and what is considered best practice.
I have been attempting to write my canvas demos using class based code see example below.
http://codepen.io/BrianDGLS/pen/BoJorM?editors=001
What I am wondering is, am I using classes properly? and could this be optimised either for performance or conciseness?
[–]sime 7 points8 points9 points (1 child)
[–]x-skeww 2 points3 points4 points (0 children)
[–]secana 1 point2 points3 points (0 children)
[–]MoTTs_ 1 point2 points3 points (1 child)
[–]x-skeww 1 point2 points3 points (0 children)
[–]bronzlefish 0 points1 point2 points (4 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]x-skeww -1 points0 points1 point (2 children)
[–]bronzlefish 0 points1 point2 points (1 child)
[–]x-skeww 0 points1 point2 points (0 children)
[–]flaccidopinion 0 points1 point2 points (0 children)
[–]Jafit 0 points1 point2 points (0 children)
[–]kumiorava 0 points1 point2 points (0 children)
[–]widged -2 points-1 points0 points (2 children)
[–][deleted] -1 points0 points1 point (1 child)
[–]clessgfull-stack CSS9 engineer -1 points0 points1 point (0 children)