inesita-rb / inesita

Frontend web application framework in Ruby using Opal.
https://inesita.fazibear.me/
MIT License
259 stars 15 forks source link

reactify? reactiv-ruby #5

Closed MichaelSp closed 8 years ago

MichaelSp commented 9 years ago

Looks much like reactive-ruby. But reactive-ruby is not out of the door yet.

Do you plan to support the react way of updating the DOM? That'd be really nice!

Would be great if I could replace my rails-view (or should I say template) with a proper view-system! And inesita could fill the gap.

fazibear commented 9 years ago

Oh, this a reason why they not update React.rb master branch. Anyway Inesita don't use React underneath. What did you mean by 'react way of updating the DOM' ?

MichaelSp commented 9 years ago

Afaik react works like this:

Why?

I guess there are good reasons to this approach. And the overwhelming success proves it.

MichaelSp commented 9 years ago

Oh and besides: Most of the projects use the official react.js to do the diff and update operations. I don't know if it's wise to reinvent the wheel here?!

fazibear commented 8 years ago

No. I don't reinvent the wheel, just use VirtualDom to make things like you describe.

MichaelSp commented 8 years ago

Oh nice! Than never mind. You already have it all. And I'm gone drop my rails view and replace it with inesita. Maybe you could point out the fact somewhere that inesita is doing DOM diffs. And if you mention react you might get more attention and folks go crazy :D

MichaelSp commented 8 years ago

I didn't manage to setup a simple rails application. Would you mind creating one and link it in the examples section on the Readme?