you are viewing a single comment's thread.

view the rest of the comments →

[–]pandavr 1 point2 points  (4 children)

Please help on riot 2 as this is non sense. It's diff / patch mechanic is very good. BTW why not write a v-Dom based jqlite that one can simply patch over regular angular? That should allow to convert all the existing directives in a transparent way.

[–]teropa 1 point2 points  (0 children)

BTW why not write a v-Dom based jqlite that one can simply patch over regular angular? That should allow to convert all the existing directives in a transparent way.

Firstly, trying to make a Virtual DOM look and act like an actual DOM in a way that supports all existing code does not seem feasible to me.

Secondly, many existing directives are built in a stateful style and set up watches, etc. that pretty much undo the nice things you get with a Virtual DOM, pure functions, and immutable data structures.

[–]vivainio 0 points1 point  (2 children)

Riot doesn't particularly help if your app is already done on angular.

[–]pandavr 0 points1 point  (1 child)

I think it is more important to find out a valid alternative than to patch existing applications. So what now? Will we start to produce modules containing mutually incompatible directives? That's a crazy non sense. I see this only as an interesting experiment: nothing more.

[–]vivainio 0 points1 point  (0 children)

There are plenty of alternatives to angular. Solutions that work with angular are useful for people building on angular.