RRU 045: React Hooks with Dave Ceddia
React Round Up - A podcast by Charles M Wood - Mercoledì
Categorie:
Sponsors KendoUISentry use the code “devchat” for $100 creditTripleByteCachefly Panel Charles Max WoodLucas ReisJustin Bennett Joined by Special Guest: Dave Ceddia Summary Dave Ceddia introduces hooks and what they let you do. The panel discusses how hooks work and how they will clean up the code. Dave explains what react does behind the scenes when hooks are being used. Hooks are simple to use but hard to explain, so the panel asks Dave how he would teach hooks. Dave explains there is a learning hump and shares what trips most developers up. The panel considers the switch from life cycles to effect and the mindset shift it requires. The difficulties of hooks are explored, such as there are now three ways to share functionality in react components. Dave shares the advantages of using array destructing instead of object destructing. The panel considers how hooks change the react framework and whether it is worth going back and refactoring everything or to refactor as you go. Different migration paths are discussed and the panel gives advice for different company types and sizes. Jokingly the panel contemplates the hype surrounding hooks and suspense. Links https://www.youtube.com/watch?v=Z2DU0qLfPIY&feature=youtu.be&t=2445https://reactjs.org/docs/hooks-faq.html#should-i-use-hooks-classes-or-a-mix-of-bothhttps://english.stackexchange.com/questions/12980/how-to-pronounce-tuplehttps://reactjs.org/blog/2018/11/27/react-16-roadmap.htmlhttps://reactjs.org/docs/hooks-intro.htmlhttps://daveceddia.com/tags/#hookshttps://youtu.be/CpPCJigsPNYhttps://daveceddia.com/https://twitter.com/dceddia Picks Charles Max Wood mastermindhunt.com/devchathttps://devchat.tv/get-a-coder-job/ Lucas Reis https://xstate.js.org/docs/https://github.com/carloslfu/use-machine Justin Bennett https://github.com/zeit/ncc