Why Omi?
One framework. Mobile & desktop & mini program.
Tiny size
Supports TypeScript
Reactive data-binding
Having official UI components - omiu
Excellent compatibility(IE8+) with omio
Real MVVM with mappingjs strong support
Enhanced CSS, rpx unit support base on 750 screen width
Compliance with browser trend and API design
Merge Web Components and JSX into one framework
Web Components can also be a data-driven view, UI = fn(data).
JSX is the best development experience (code intelligent completion and tip) UI Expression with least grammatical noise and it's turing complete(template engine is not, es template string is but grammatical noise is too loud)
Look at Facebook React vs Web Components,Omi combines their advantages and gives developers the freedom to choose the way they like
Shadow DOM merges with Virtual DOM, Omi uses both virtual DOM and real Shadow DOM to make view updates more accurate and faster
Scoped CSS's best solution is Shadow DOM, the community churning out frameworks and libraries for Scoped CSS (using JS or JSON writing styles such as Radium, jsxstyle, react-style; binding to webpack using generated unique className filename-classname-hash, such as CSS Modules, Vue), are hack technologies; and Shadow DOM Style is the perfect solution.
The original Path Updating store system. Proxy-based automatic accurate update, low power consumption, high degree of freedom, excellent performance, easy integration of requestIdleCallback,It will automatically update UI partially when data is changed