65

I spent 30 minutes trying to find out why this element wasn't hiding. This isn't a Vue.js project. It's AngularJS.

Comments
  • 6
    @Hu-bot0x58 What error? You can use custom attributes in HTML.
  • 0
    That's one of the reasons I don't like JavaScript(+everything manipulated by it) and all its frameworks... It gives you very little information about the error
  • 4
    @egix There's no error. Actually, if you are using Vue and do something wrong you will in almost all cases find it instantly.
  • 5
    @egix oh did X happen? Let's blame JavaScript 😑
  • 1
    Use react it has JSX
  • 0
    why use a framework? when you can do these stuff yourself
  • 2
    @xlindsay React doesn't "have" JSX. You can use JSX with it. You can also do the same with Vue and Angular
  • 0
    @egix you could use TypeScript ;)
  • 0
    @makmm would that defeat the purpose of the framework. Vue adds js to html but react adds html to js. They both have pros and cons
  • 0
    @Hu-bot0x58 I assigned some value to object's property in javascript that I assumed existed but js wouldn't show error because you can create properties on the fly 😒
Your Job Suck?
Get a Better Job
Add Comment