Heard of Web Components?
The class syntax is there.
Bottom line, do what works best for you.
Right? Lets move away from react and all frameworks/libs and the dependencies and patterns they force on us.... Same as jQuery, these will also become obsolete and we'll be back to vanilla. Start the movement to liberal JS and web components today!
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.