-
Notifications
You must be signed in to change notification settings - Fork 754
Are there reasons not to use this in production? #161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
No reason not to use it in production! I'm using all over PCO Check-ins with no problem. Only caveats:
|
I work side-by-side with @rmosolgo, and it's definitely usable in a team environment. The minimal surface area of the Let us know if you run into any pain points along the way! |
@rmosolgo @danott thanks guys. That gives me a lot of confidence. Would you be kind enough to elucidate:
I have a mental gap of how to bridge the Rails app with something that is meant to handle the view layer only. |
@abitdodgy another vote of confidence from us at Anyroad, we recently deployed this in production (we've been using React standalone for Anyguide for a while now). My take on your questions is:
|
Thanks everyone and @bogdan-dumitru for chipping in. I think sometimes it's best to take the plunge and see what happens. At this point I'm not concerned about react-rails. I'm more concerned about my ability to be productive doing SAP. Only one way to find out. |
FWIW I don't actually use it to go full-SPA. I just use React components like I used to use complicated jQuery-powered bits -- just complicated, dynamic UI elements. It's like a more maintainable alternative to mutating the page with random jQuery. Seems like that's how FB uses it too: https://twitter.com/floydophone/status/557348616080076800 (at least for that part of the app) |
@rmosolgo yes, I figured that might be the use case, and I intend to use it the same way. I'm just worried about taking the plunge without enough guidance and info out there on integrating it with Rails. I feel like I'm always ready to just fallback to jQuery because I already overcame the learning curve and I can do it quickly. But I also despise the lack of maintainability of spaghetti jQuery. |
I would suggest you to install React Developer tools for Chrome [0] and just go explore how other people structured their components such as anyroad.com or even facebook.com :) |
I'm considering React for an app due in three months. I realise this is not yet stable, but is there a reason not to start using it for some basic components?
The text was updated successfully, but these errors were encountered: