by petilon · 3y ago · 0 comments
Not really. See a better way here: https://github.com/wisercoder/eureka
"Lucene based search" vs React ? Seems like comparing trees to tractors.
I've read the web app and it seems to me it is just https://backbonejs.org/ re-written in Typescript and allows JSX.
I'm very certain Typescript and JSX will have improved the DX for Backbone like apps, but it doesn't address all of the other issues that teams had with Backbone.
e.g. Cyclical event propagation, state stored in the DOM (i.e. appendChild is error prone in large multi-person code bases), etc.
FWIW, the reason this works for eureka is highlighted best on this page: https://github.com/wisercoder/eureka/graphs/contributors there is only a single author!
The style used is MVC. Do you think MVC is not suitable for multi-person teams? If so how do you explain MVC in Cocoa, ASP.NET Core, JSP and JSF, Ruby on Rails, and Django (Python)? They are all based on MVC.
The point here is that you can write maintainable, clean, efficient JavaScript web apps without the load of complexity added by React.
No, Backbone.js doesn't do 2-way data binding, although some certainly made it do that. But it doesn't by default, it has a 1-way data binding (the UI updates when the model changes, but doesn't update the model automatically when the UI changes).
> Some people mistakenly think MVC implies 2-way data binding. It does not.
What? Who does that? I certainly didn't and I haven't heard anyone in my +decade of web development.