3 ms·
How do you push a 6 year old piece of software 2 decades back? I know you're exaggerating, but after admitting that you don't work with front end anymore (so I'
by allthetime 7y ago
How do you push a 6 year old piece of software 2 decades back? I know you're exaggerating, but after admitting that you don't work with front end anymore (so I'm assuming you haven't really worked with hooks for very long) it's hard to understand why your opinion is of value here.
I've been working with React for 3+ years now and hooks are a major step forward in terms of both productivity and writing clean, efficient, reusable code. Anyone who spends some time wrapping their head around hooks realizes this and from what I see, a large majority of react / react-native library developers are on board as well.
Hooks can be adopted and implemented gradually along side class based components without issue, and no one has trouble when both exist along side each other. There is no rift in the react community because of this, and to suggest there is just reveals your ignorance, it's only pushing things forward.
- rawoke083600 7y agoBest source for learning/grasping/getting-a-feel for hooks in your opinion ?
- deleted 7y ago[deleted]
- siquick 7y agoIf you're familiar with React then https://www.robinwieruch.de/react-hooks https://www.robinwieruch.de/react-hooks or https://www.robinwieruch.de/react-hooks-migration https://www.robinwieruch.de/react-hooks-migration or https://reactjs.org/docs/hooks-intro.html https://reactjs.org/docs/hooks-intro.html are a good place to start
- Eupolemos 7y agoIf you are into videos, I found this playlist to be helpful: https://www.youtube.com/playlist?list=PLC3y8-rFHvwisvxhZ135pogtX7_Oe3Q3A https://www.youtube.com/playlist?list=PLC3y8-rFHvwisvxhZ135p... He goes through how it used to be done before hooks and how easily it can be done now. I've been through a few playlists with higher production value, but for me, this list just contained the right stuff.
- dzonga 7y agoit wasn't meant to be literal. '2 decades back' as a metaphor. hooks after all are just closures. so yeah I understand them. but that's not the problem. the issue is having two competing ways of doing things. look at rails they standardized the way of doing things way back and they haven't changed. & hence why a lot of rails people are productive