Is virtual DOM used in TW5 ?

45 views
Skip to first unread message

Martian

unread,
Mar 22, 2017, 5:57:15 AM3/22/17
to TiddlyWiki
Hello! I'm wondering about subj. Didn't yet go deep in TW5 architecture, but remember than in single file version there was a significant slowing when tiddlers counts more then thounsand (it was several years ago).

Just wonder is there any "virtual DOM" like in React and VueJS libraries?

Danielo Rodríguez

unread,
Mar 22, 2017, 7:18:01 AM3/22/17
to TiddlyWiki
Yes,

Tiddlywiki uses it's own implementation of a virtual DOM. It specifically builds a widget tree, that then it's translated into a doom tree. Like react, any change to a node results on a re-render of all it's children, so there are some performance problems too.

Regards
Reply all
Reply to author
Forward
0 new messages