Devchat.tv Episode Roundup

RRU 045: React Hooks with Dave Ceddia


Listen Later

Sponsors
  • KendoUI
  • Sentry use the code “devchat” for $100 credit
  • TripleByte
  • Cachefly
  • Panel
    • Charles Max Wood
    • Lucas Reis
    • Justin 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=2445
      • https://reactjs.org/docs/hooks-faq.html#should-i-use-hooks-classes-or-a-mix-of-both
      • https://english.stackexchange.com/questions/12980/how-to-pronounce-tuple
      • https://reactjs.org/blog/2018/11/27/react-16-roadmap.html
      • https://reactjs.org/docs/hooks-intro.html
      • https://daveceddia.com/tags/#hooks
      • https://youtu.be/CpPCJigsPNY
      • https://daveceddia.com/
      • https://twitter.com/dceddia
      • Picks

        Charles Max Wood

        • mastermindhunt.com/devchat
        • https://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
            • https://parceljs.org/
            • https://bcrikko.github.io/NES.css/
            • Dave Ceddia

              • https://codesandbox.io/docs/live
              • https://jamesclear.com/atomic-habits
              • ...more
                View all episodesView all episodes
                Download on the App Store

                Devchat.tv Episode RoundupBy Devchat.tv