57

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
  • 2
    @egix There's no error. Actually, if you are using Vue and do something wrong you will in almost all cases find it instantly.
  • 2
    @egix oh did X happen? Let's blame JavaScript 😑
  • 1
    Use react it has JSX
  • 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 😒
  • 0
    My condolences
Add Comment