Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Reactjs and nodejs are mixed in the same project. There are hundreds of folders containing 3liners components that imports other components placed in completely other directory three. Lot of code is duplicated with minor changes. Many graphql requests are made multipletimes.
I guess if i refactor ill have a code base with less then 1% of the size of the actual one.
I chose angular because i hate jsx and the mixed view/intelligence of reactjs. Angular is the only one that separated views from code. And with service injection i am sure to query data one time.
Of course this can be acheived with react in a way or another, (redux and stuff) but still, soon or later the spagetti code will be there as react is NOT suitable for agile dev -
bioDan56225y@devapsarl react is very much suitable for agile development.
But given your situation I agree that rewriting (not refactoring) the code might be the best solution for you. -
@bioDan yes mate, it may be suitable for agile, but the developer should be a pro ! Otherwise he will endup nesting components in an awful way.
I hate when a framework provide lot of freedom for developpers, they will always endup doing shit
Related Rants
I am about to refactor a huge reactjs/nodejs spagetti code into angular9 front and php7.3 backend.
Change my mind
rant
php73
angular9
reactjs
nodejs