r/javascript • • Dec 23 '13

jQuery .data() considered potentially harmful

http://thinkco.de/jquery-data-considered-potentially-harmful/
0 Upvotes

4 comments sorted by

View all comments

3

u/[deleted] Dec 23 '13

Coupling your model to a piece of markup is generally harmful too. I'd avoid jQuery.data altogether.