Hacker News new | ask | show | jobs
by glenjamin 4241 days ago
From a quick look at the demo, the React version also doesn't use PureRenderMixin.

The optimisation that the React version has that is not applied in the virtual-dom version is list keys. http://facebook.github.io/react/docs/reconciliation.html#key...

I don't know if virtual-dom provides an equivalent feature, but I imagine it would be straightforward to add if not.

1 comments

The React demo does use PureRenderMixin [0].

And virtual-dom also supports keys.

[0] https://github.com/BinaryMuse/react-primer/blob/gh-pages/dem...

Ah yes, I only read the top file, didn't realise the demo was split into multiple components.

Do you have a link to the source for the virtual-dom version?