Kostia P

Results 22 issues of Kostia P

As reported by @loreanvictor in #1, tree shaking might not be compatible with exporting `$` and `_` that share `context` variable with the `computed` fn. Needs investigation.

help wanted
RnD

Since autorun API lets users run code in synchronous manner, it might make sense to allow handling errors right inside the expression: ```ts computed(() => { try { return $(a);...

discuss

While `$`, `_` function names are short and are unobtrusive, I think we'll need more descriptive names. Also, `run` function name doesn't reflect well what it does (as it doesn't...

enhancement

Seems like `Observable` type is interpreted as callable (`ICallableProxy`), which provides Function.prototype props: ```ts let o = of({ a: undefined }); let p = proxify(o); p.a.call(…) ```

Proxified `Observable` becomes `never` instead of `IProxiedObservable` ```ts let o: Observable = of(); let p = proxify(o); p.pipe(map(x => !x)).subscribe(); ```

Add automatic type checker via one of these: - https://github.com/microsoft/dtslint - https://github.com/SamVerschueren/tsd - …

enhancement
help wanted

It'd be good to have ability to extend some levels of proxify, e.g.: [Rx Simple State example](https://stackblitz.com/edit/rstate-united?file=index.ts) ```ts // create a state const state = createState({ count: 0, timer: 100...

enhancement
help wanted

This allows adding functions on the proxy fields (fix #3) E.g.: ```ts interface Extension { readValue(this:S): S extends ObservableProxy ? A : never; } const x: Extension = { readValue()...

# Intro This feature introduces a reactive components style (like it Recks) with React's hook API available: ```tsx let Component = createComponent$((props$: Observable) => { // this function initialises component...

Enable Suspense for SSR Something like ```jsx const App = () => { // $Suspense is a reactive element { stream$ } } ``` -- TODO: Consider approach suggested by...