Adds:
-
Props as streams for static (intrinsic) elements
<span title={ timer(0, 100) } />
-
Basic TypeScript support for JSX (TSX)
<Header title="Hello world" /> // <- ok <Header title={ 1 } /> // <- error // ^~~ - title should be string function Header(props$: Observable<{ title: string }>){ return <h1>{ props$.pipe(pluck('title')) }</h1> }
commits:
- removed covered TODO test 595b337
- updated changelog 55be2ca
- dropped components experimental Observable attr 0c256d6
- 0.0.14-2 cb0d87d
- adding TS support - attempt 2 e53af5a
- updated CHANGELOG 5a55d41
- adding TS support 34c6c4a
- [tests] added attribute and observable tests 2815c4d
- 0.0.14-1 caa4a7a
- fixed attribute removal on static element update 6c73aef
- added tests for events and ref 6be4881
- [chore] updated packages d1d5c86
- structured and added tests 211dad1
- updated splitPropsToStreams types and desc 8424d14
- 0.0.14-0 ea83b49
- added unsubscriptions 8a898ea
- stable prop threads 52c6c9f
- fixed issue w/ emtpy first elements in Arrays 7a87ae8
- straight subscription chain in components 816a003
- observable props for static elements 867dfd0
- Prettier (#4) 4bce46b
- GitBook: [master] 9 pages modified 7d0e730
- GitBook: [master] 2 pages modified ad95d3f
- GitBook: [master] 3 pages modified ae183a9
- GitBook: [master] 2 pages modified e4ddeda
- [docs] updated readme f1c019d