Hi Adrian The first commit of the fakedom was on 17th May 2013:
https://github.com/Jermolene/TiddlyWiki5/commit/551ebdc0050b199b3bd5451d556c6ca37495a79b > is it a library like virtual-dom? Was the latter available when you started? No, I don't think virtual-dom was around back then. I was aware of jsdom, of course, but TW's fakedom is much, much more lightweight than either of them. Fakedom doesn't make any attempt or pretence to be a complete DOM implementation; it's just a collection of the minimum methods and properties that will support TiddlyWiki's server side rendering. My plan was that the TW core have the minimal fakedom necessary for the core widgets, but that users would be able to plugin a more complete DOM implementation such as virtual-dom or jsdom if they are using plugins that need a more extensive DOM implementation. > If you rolled your own, I'm curious if you've tested its performance against virtual-dom. This blog post, Blazing Fast HTML, suggests it's quite fast I didn't really do much performance testing; the focus was more on making fakedom as simple as possible which does of course have the side effect of making it quite fast too. But it's easy because it's not doing much :) Best wishes Jeremy. On Tue, Nov 18, 2014 at 7:08 AM, PMario <[email protected]> wrote: > see: > https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/utils/fakedom.js > > The first commit of virtual-dom seems to be in January this year. ... TW > is in the works a little bit longer. > > mario > > -- > You received this message because you are subscribed to the Google Groups > "TiddlyWikiDev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/tiddlywikidev. > For more options, visit https://groups.google.com/d/optout. > -- Jeremy Ruston mailto:[email protected] -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tiddlywikidev. For more options, visit https://groups.google.com/d/optout.
