|
|
|
|
|
by explorigin
3963 days ago
|
|
I'd take it with a grain of salt. - Benchmarks are only for Safari and without good documentation for how they
were performed. Measurements are only in the 100ths of seconds where these
measurements should have much more granularity.
- The TodoMVC (arguably the most real-world) benchmark is nearly 50% slower
than virtual-DOM.
- virtual-DOM is fairly mature at this point where as MorphDOM looks very
young.
- virtual DOM implementations allow you to do things like React Native
|
|
> virtual-DOM is fairly mature at this point where as MorphDOM looks very young.
morphdom is small and focused (about 220 lines of code). It either works or it doesn't and I have a decent amount of test cases to hopefully prove that it works (not to say that it is bug free... the DOM has lots of edge cases in some web browsers).
- virtual DOM implementations allow you to do things like React Native
This was built for the real DOM. While there can be value in abstractions, this was designed for a web browser.