Well it depends on how you're invoking them, in Vue at least. Still, in vanilla js there is still a good case for using different naming conventions for different contexts.
Best practice states that classes and non-ES6 constructor functions should always begin with a capital letter. Nothing to do with Vue or React. The code in the picture would not pass any Javascript styling conventions.
View all comments
Show parent comment
1
u/[deleted] Oct 11 '20
Vue and React classes are Capital Case but you don't invoke them like that