HTMLビルダーを使ってスクリプトにデータ属性を追加する方法は?

There is also this post that explains how the virtual dom / widget part of Discourse works:

「いいね!」 6