Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
asgs10817137dYou are doing fine
Keep going. You will fix that sooner
Salmonfalls17137dAh man, I'm in the same. We have a Vue app which is one big spagetti with huge methods and bad abstractions. I've stopped trying to hard to improve it and just accept it. I try to implement new features cleanly, but debugging is hell.
sleepydev3136dI'm using a different framework right now in my job and planning to expand my knowledge by studying React to be flexible in finding jobs as I'm planning to walk away from my current company.
How are React codebases in a corporate world, are they fully hooks based or are still react classes lurking around somewhere around as technical debt?
black-kite1551132d@asgs From what I understand React has moved toward functional components as they want to encourage devs to split the code more into small smaller bricks with higher reusability (sharing state between components is easier with hooks…)
Although one could argue that Angular also encourages keeping their class based components small and reusable as well…
I’m not an advocate for either one. I use both Angular and React. I guess the main reason I’m migrating toward hooks is to stick with the later versions of the library and the optimizations that come with it. Also many libraries written for React have moved toward hooks as well and can’t be used with React class components anymore (at least their latest versions)