Alex

Results 364 comments of Alex

I'm still not sure what is all about. What is so special about changing skin, overlays? Why it can not be handled with standard snabbdom updates? maybe @paldepind sees a...

Ok, i've never considered updating nodes using such method by directly modifying internal structure of vnode.

@staltz what do you think about it?

I know about #128, but the problem with `installing` some operators is just with typing. I'm not aware how Typescript could allow having progressively extended class definitions by importing some...

Then currently I would propose to implement overloaded definition for `isolate` function: ```ts function isolate(component: ComponentDataflow, scope?: any): ComponentDataflow function isolate(component: Component, scope?: any): Component ``` This would allow default...

Not sure if it worth it, maybe at least this could be allowed: `isolate(MyComponent)` vs `(isolate(MyComponent) as typeof MyComponent).` to save couple of brackets =)

Use for now just `(isolate(MyComponent) as typeof MyComponent).` `isolate(MyComponent)` would be a little bit better =) But actually until TS fully supports ability to type isolateSink/isolateSource on the sources (it...

I use this signature for state reducer: ``` type Reducer = (state: T) => T ```

@mightyiam did you try how something like `((T: State) => State) | ((T: undefined) => State)` would work?

> I suggest a new constructor withInitialState Setting an initial state is an app logic realm, should be done inside Main.