4 ms·
It’s a framework. Similar questions are: Why not build rails into ruby? Why not build Django into python? Why not build qt into c++? It’s a programming flo
by quezzle 7y ago
It’s a framework.
Similar questions are:
Why not build rails into ruby?
Why not build Django into python?
Why not build qt into c++?
It’s a programming flow and model, dom diffing is just one part of it.
- ken 7y agoThose examples are all programming languages. "Web browser" is not a programming language. It's practically a complete operating system, and they have not in the past shown much reluctance to add features to that big ball of mud, when it helps programmers.
- galaxyLogic 7y agoRight. I think the value of this "React in 33 lines" article is it shows us such an API would be easy to implement and add on by the browser-makers. Would it be as fast as React? Well it wouldn't need to be, but it well could easily be since it would be implemented in native code. It could be an extension to the Shadow-DOM API, right?