Matt-Esch / virtual-dom

A Virtual DOM and diffing algorithm
MIT License
11.67k stars 777 forks source link

Is it dead? #436

Open haggen opened 7 years ago

haggen commented 7 years ago

Last commit was more than a year ago. How's the future of this project looking? Any prospects?

iambumblehead commented 7 years ago

https://infernojs.org/

inferno works in all the same places virtual-dom does and more. its also faster, has a simpler interface with fewer parts to manage and can be used to render svg as a normal out of the box ability. Development is active and maintainers are pro-active about merging in pull requests and responding to issues.

@haggen no one has responded to your comment for almost one month and there are 48 old un-merged pull requests.

haggen commented 7 years ago

Thanks for the reply @iambumblehead, but what you suggested is not quite the same. I just want the virtual dom part. Inferno (core only) has 110KB+ while this has around 45KB.

iambumblehead commented 7 years ago

@haggen I didn't realize there was such a great difference in size.

Some experiences I've had that may be useful to you... I replaced virtual-dom with inferno in a web video-editing application and noticed observable performance improvements right away. I used snabbdom and morphdom as well, but found both to be less accurate/detailed in the adjustments they made when publishing a vtree compared to either inferno or virtual-dom.

Of those libraries, virtual-dom was the most accurate and inferno is the next most accurate. Morphdom was least accurate.

By 'accurate' I mean that snabbdom and morphdom tend to replace entire node hierarchies in the wrong way and they tend to replace the entire node, whereas virtual-dom or inferno would instead affect minimal changes redefining specific node attributes or textContent only.

haggen commented 7 years ago

Hey thanks a bunch for the remarks, really helpful, much appreciated! I'll be looking further into Inferno and React for now.

jamesamcl commented 7 years ago

I'm still using vdom in a large project without any issues. Porting to inferno would take time, and I've no particular reason to. I see vdom as more "finished" than "dead".

rolfen commented 7 years ago

Thank you for all the constructive suggestions.

AlexGalays commented 7 years ago

Another great lib that we're using: snabbdom It's fast, modular (you can augment the syntax of h() with your own modules) and very, very tiny.

DanielRuf commented 5 years ago

Bump.

Berkmann18 commented 4 years ago

It looks dead but finished to me.