top | item 31500067

(no title)

davismwfl | 3 years ago

React is neither good nor bad, it is just another framework. Usually developers are keen to rewrite things in their current flavor where they are comfortable. You need to be detailed with them and understand what react is going to solve, because while it might solve some things it will bring with it a lot of baggage and complexity too which may or may not be good for your current app.

My general rule is newly hired team members can't rewrite systems or major components within their first few months on the team. Of course it isn't an unbreakable rule, but the goal is to make them fully understand the product and clients. A lot of times people want to rewrite things cause they don't understand the problem you are solving and by rewriting the code base they can dig into the problem more. When in reality if you force them to live with the existing codebase for a bit it can help them and you feel more comfortable with a rewrite if that becomes necessary and usually it goes better too.

I've seen devs use react for landing sites that are 3-5 pages and maybe a couple of forms etc all because they didn't know how to interact with forms through javascript. Or one I loved is a new dev saw jquery in a project we had that was still operational and doing great but he freaked out wanting to rewrite a stable cash cow of a codebase cause jquery is "bad". I doubt/hope that isn't your case here, but just make sure you feel confident in the reasoning and it isn't just cause they know react and it is the hammer they use regardless.

discuss

order

blockwriter|3 years ago

Thanks. That is great advice. This is no cash cow, but it is useful to my little company and a small group of users.