title: Is it bad practice to add properties to DOM nodes?
body: <p>JavaScript lets you add arbitrary properties and methods to any object, including DOM nodes. Assuming the property was well namespaced (something like <code>_myLib_propertyName</code>) so that it would be unlikely to create a conflict, are there any good reasons not to stash data in DOM nodes?</p>
  
  <p>Are there any good use cases for doing so?</p>
  
  <p>I imagine doing this frequently could contribute to a sloppy coding style or code that is confusing or counter-intuitive, but it seems like there would also be times when tucking "custom" properties into DOM nodes would be an effective and expedient technique.</p>