4 ms·
I'm using it for a very large enterprise app. React's advantage is the declarative style, very easy to reason about your View logic. Team productivity is up, fi
by Cshelton 11y ago
I'm using it for a very large enterprise app. React's advantage is the declarative style, very easy to reason about your View logic. Team productivity is up, fixing/changing older UI is easier/quicker, it's great. We've tried angular, we were using just vanilla JS and Jquery, React is great. A great resource you should check out is the slack channel Reactiflux. Many active people and they will answer any question you have!
At this point we have around 60 pages, hundreds of components. It scales very well. Give React a few days when trying it out. We also use our own customer flux implementaion, which makes handling front end data models easier through one directional data flow. I recommend checking that out also, it scales very well. Some of our pages right now would push angular to the limit with hundreds of rows, many different components, etc, React handles it really well without having to meticulously tweak performance, it just works. Angular can do the job as well, just needed a lot of quirks to make it work.
- tmm 11y agoI am using React for a smaller enterprise application and find it quite difficult to reason about. But perhaps it's not well suited to deeply nested forms with lots of fields. After about six months, I finally feel like I've got a handle on how it works, sort of. It's probably not something I'll use again on future projects though.
- seivan 11y agoI feel like you lose out on using React if your application isn't going to be huge in terms of "components" and states. You're probably better off using simple_form and Turbolinks with Rails.
- nulltype 11y agoA better alternative in my experience is to implement just the unidirectional data flow idea. This gives you some of the advantages of react without a lot of the complexity.
- andreasklinger 11y agoimho: Forms are one of the things react still sucks in. Standards are missing.
- seivan 11y agoYeah I'm spoiled silly by Rails forms builder, both the standard as well as the better simple_form! But I suspect Components will make forms awesome for React!