Features
- No DOM diffing and no "lifecycle loop". Only Observables which get subscribed to and directly update the DOM elements.
- Minimal JSX wiring up with full type definitions for all common
HTMLElement
attributes. - Any attribute accepts an Observable of its value, and this is type checked.
- An Observable of any
JSX.Child
(string
,null
,JSX.Element
, etc), can be used as aJSX.Child
. - Adds special props:
is
,$style
,$class
,ref
, andtags
. - exports declaration maps (go-to-def goes to TypeScript source code)
{
"compilerOptions": {
"jsx": "react",
"jsxFactory": "jsxSpec"
}
}