|
|
|
|
|
by kannanvijayan
4073 days ago
|
|
The issue with a pure HTML-based UI has more to do with the DOM. UI architectures like React get a lot of mileage from asynchronous models. However, the HTML DOM does not have the most flexible API. The API itself is structured around document manipulation. It's synchronous, and puts some limitations on how you structure UI changes. This is one of the reasons React did the whole shadow-DOM thing. React Native essentially lets the React devs build a UI API that fits directly with their framework. It's something we can learn from and use to modify DOM APIs to serve as better UI abstractions. |
|