dfilatov / vidom

Library to build UI based on virtual DOM
MIT License
414 stars 16 forks source link

Any plans to integrate... #104

Closed ghost closed 9 years ago

ghost commented 9 years ago

Any plans to integrate...

  1. Reusable components
  2. Routing. E.g. https://github.com/rackt/react-router
dfilatov commented 9 years ago

Reusable components are already integrated in vidom. What about other things you mentioned, I'm not going to build a monster which can do everything. All these things could be and must be implemented as separate projects, but not here, not in core.

dfilatov commented 9 years ago

It depends on what you mean by two-way binding. Moreover, two-way binding is a root of evil )

dfilatov commented 9 years ago

Better take a look at patterns which provide unidirectional data flow.

dfilatov commented 9 years ago

Yes, Flux is one of the most popular buzzword.

gaydenko commented 9 years ago

Just want to mention, Flux and, say, inspired Redux are treated by some developers as the next pointless hype to sell being not suitable for real applications :) As for two way binding, yes, at those rare cases it is needed it can be easy implemented outside the virtual DOM library the way is appropriate to the application in hand and developer's taste.

dfilatov commented 9 years ago

I have cited Flux just as an example. Unidirectional data flow pattern had existed before even facebook was founded )

gaydenko commented 9 years ago

@dfilatov , I see :)