News for hackers. Stuff that matters.
Re:Virtual-dom – A Virtual DOM and diffing algorithm by worldsayshi on Thursday April 02, 2015 @04:58AM (#9309395)
Why does the world need this in addition to React? I can certainly feel that there are reasons but I can't make them concrete off the top of my head.

Edit: Ok, I get it. Now we can add this behavior to arbitrary template engines or reactive frameworks, like Meteor for example. Thats awesome.

Re:Virtual-dom – A Virtual DOM and diffing algorithm by steveridout on Thursday April 02, 2015 @07:02AM (#9309866)
Size of code could be a good reason:

This appears to be just 43kb: https://github.com/Matt-Esch/virtual-dom/blob/master/dist/vi...

Whereas Facebook react 0.13.1 (without addons) weighs in at 599kb, or 121kb minified.

Note that I know almost nothing about this project. It may do less than React, be slower, etc... But if it does a half decent job with far less code then it's very compelling.

Re:Virtual-dom – A Virtual DOM and diffing algorithm by kpmah on Thursday April 02, 2015 @07:43AM (#9310007)
I used it in my side project (http://sediment.io) because I was using PureScript. It's just a few pure functions that are easy to bind to. The source code is also a lot easier to read and understand.
Re:Virtual-dom – A Virtual DOM and diffing algorithm by FractalNerve on Friday April 03, 2015 @02:43PM (#9317600)
I start to see .io domains associated with a lot of cool projects, which makes me ask myself "Where do you buy these io domains?". Is it cheaper than were I looked? I think it was about >=65Eur/anno

Last time I looked the prices offered for grabbing one I was schocked with extraordinary high costs for one domain.

Re:Virtual-dom – A Virtual DOM and diffing algorithm by rpwverheij on Thursday April 02, 2015 @05:08AM (#9309425)
exactly.. Just in case you want virtual DOM, but not the rest of React, this comes in very handy
Re:Virtual-dom – A Virtual DOM and diffing algorithm by aikah on Thursday April 02, 2015 @05:15AM (#9309452)
Because choice is good. The Javascript world is definitely not a mono culture, get used to it.
Re:Virtual-dom – A Virtual DOM and diffing algorithm by worldsayshi on Thursday April 02, 2015 @05:38AM (#9309527)
I wasn't rejecting it. I was curious.
Re:Virtual-dom – A Virtual DOM and diffing algorithm by gondo on Thursday April 02, 2015 @05:01AM (#9309402)
license if not anything else
Re:Virtual-dom – A Virtual DOM and diffing algorithm by worldsayshi on Thursday April 02, 2015 @05:03AM (#9309411)
React is Bsd, this one is also bsd-ish?

edit: why downvotes?

Re:Virtual-dom – A Virtual DOM and diffing algorithm by bildung on Thursday April 02, 2015 @05:38AM (#9309529)
> React is Bsd, this one is also bsd-ish?

But this one comes without Facebooks patent clauses.

Edit: Apparently that was too terse: While Facebooks React comes as BSD, the patents clauses are so broad that questioning software patents in a blog post would result in licence revocation. They are not just litigation defense like the ones from the Apache Foundation:

"The license granted hereunder will terminate, automatically and without notice, for anyone that makes any claim [...] alleging [...] that any right in any patent claim of Facebook is invalid or unenforceable."

Re:Virtual-dom – A Virtual DOM and diffing algorithm by _delirium on Thursday April 02, 2015 @08:49AM (#9310312)
It is probably the case (but not guaranteed) that a court would read "makes any claim" a bit more narrowly to mean only legal claims, not blog posts. It's a common phrase used in e.g. statutes as a term of art, and usually taken as narrower than a phrase like "expresses a view". However it would almost certainly still include USPTO administrative challenges (e.g. challenging a patent by demonstrating prior art), which is still a big problem.
Re:Virtual-dom – A Virtual DOM and diffing algorithm by ksherlock on Thursday April 02, 2015 @10:15AM (#9310810)
This comes without any patent grants whatsoever. If you're worried that Facebook has patents covering react, you should probably be worried that they have patents covering this code as well. If you're worried about the patents, you should use react or use neither.
Re:Virtual-dom – A Virtual DOM and diffing algorithm by beefsack on Thursday April 02, 2015 @05:09AM (#9309429)
Facebook has some nasty patent terms in their open source projects.
Re:Virtual-dom – A Virtual DOM and diffing algorithm by worldsayshi on Thursday April 02, 2015 @05:42AM (#9309539)
Wow, yeah. Read the PATENT file in a bit more detail now. Could be a problem.