RRU 088: Frustrations with React Hooks with Paul Cowan
React Round Up19 Marras 2019

RRU 088: Frustrations with React Hooks with Paul Cowan

Paul Cowan was a painter and decorator for 30 years until he switched to front end development. He got into React because for him, much of programming didn’t make a whole lot of sense until he read about the flux model, and React Redux was one of the few frameworks that followed the flux model. Spending most of his life outside of the programming world has granted him a unique perspective frameworks like React. He talks about some of his frustrations with React hooks. Hooks can be frustrating because it’s a new paradigm to learn JS, the dependencies array can get bungled, React relies on the order in which hooks are called, and closures can be difficult. Overall, hooks come off at deceptively simple. Paul believes that we shouldn’t need external tooling to keep the dependency array on the right track. To avoid these frustrations, Paul reminds listeners that hooks have to be called in the same order each time at the beginning of your functional components. You also cannot have a hook in an if statement or event handler. It’s also important to remember the declarative nature of React. In production code, updating states is the best way to go. The panel agrees that it’s good that react has clarified their position on what hooks are supposed to be used for, and how we are beginning to see the limitations of React hooks. They discuss unit testing with hooks and how to determine when the React framework becomes too big. They talk about some of the new features that are coming out and how they benefit new developers. When mistakes do happen, Paul talks about how he determines what went wrong. If you want to get advice from other humans, they suggest consulting StackOverflow, ReactiveFlux, and IRC chat. When you do consult these sources, it’s important that your problem is reproducible so that it’s easier for people to help you out. It’s also important that you learn how to ask questions. The show finishes with them discussing how they handle changes in the industry. They have found that reusing components is difficult across Angular and React. They talk about the positive ways that React went version to version. They discuss complexity management in apps. The panel talks about some ways to do things in React without hooks, but also caution that avoiding the popular thing can also get you into trouble. Panelists
  • Thomas Aylott
  • Charles Max Wood
  • Chris Reyes
Guest
  • Paul Cowan
Sponsors _______________________________________________________ "The MaxCoders Guide to Finding Your Dream Developer Job" by Charles Max Wood will be out on November 20th on Amazon. Get your copy on that date only for $1. _______________________________________________________ Links Picks Thomas Aylott Charles Max Wood Chris Reyes Paul Cowan Special Guest: Paul Cowan.

Advertising Inquiries: https://redcircle.com/brands

Privacy & Opt-Out: https://redcircle.com/privacy

Become a supporter of this podcast: https://www.spreaker.com/podcast/react-round-up--6102072/support.

Jaksot(310)

AI Integration in Web Apps - RRU 267

AI Integration in Web Apps - RRU 267

In this episode, Lucas, Chris, and Peter are joined by Colby Fayock, the Director of Developer Experience Engineering at Cloudinary and a content creator.Join them as they dive deep into the world of ...

25 Syys 202432min

Speech Commands and Speech Recognition in React featuring Chris Laughlin - RRU 266

Speech Commands and Speech Recognition in React featuring Chris Laughlin - RRU 266

Chris Laughlin joins the round up to discuss how to use the WebKit Speech Recognition API to interact with your react applications. This opens up a wide range of capabilities for web and React applica...

4 Syys 202446min

Building a Seamless Image Zoom Feature - RRU 265

Building a Seamless Image Zoom Feature - RRU 265

In today's episode, they dive deep into the intricacies of creating a seamless image zoom functionality with our special guest, Robert Pierce, a seasoned software engineer with 13 years of experience ...

30 Elo 202450min

Next.js Deployment Woes: Tackling Vendor Lock-In and Production Readiness with FlightControl - RRU 264

Next.js Deployment Woes: Tackling Vendor Lock-In and Production Readiness with FlightControl - RRU 264

In this episode, they dive deep into the intricacies of deploying server-side rendering applications using Next.js on AWS. Join them as  Brandon Bayer, the CEO of Flightcontrol shares insightful exper...

14 Elo 202445min

Boosting Development Efficiency with Strapi CMS and Next - RRU263

Boosting Development Efficiency with Strapi CMS and Next - RRU263

In today's episode, our host Lucas Paganini sits down with special guest Paul Bratslavsky, a seasoned software engineer at Strapi, to explore the powerful synergy between Strapi, a versatile JavaScrip...

7 Elo 202454min

React Native vs Capacitor: Performance, Flexibility, and Business Impacts - RRU 262

React Native vs Capacitor: Performance, Flexibility, and Business Impacts - RRU 262

In today's episode, they dive deep into the evolving landscape of mobile development by comparing React Native and Capacitor, two pivotal technologies for transforming web code to run seamlessly on mo...

24 Heinä 202453min

Speech Commands and Speech Recognition in React featuring Chris Laughlin - RRU 261

Speech Commands and Speech Recognition in React featuring Chris Laughlin - RRU 261

Chris Laughlin joins the round up to discuss how to use the WebKit Speech Recognition API to interact with your react applications. This opens up a wide range of capabilities for web and React applica...

12 Kesä 202446min

Gmail Analysis Software, Web Components, and State of Web Development Surveys - RRU 260

Gmail Analysis Software, Web Components, and State of Web Development Surveys - RRU 260

Levan Katsadze is a Software Developer. In this episode, they explore a fascinating project, which offers migration rules for moving websites, emails, and databases between hosts. They talk about the ...

5 Kesä 202447min

Suosittua kategoriassa Liike-elämä ja talous

sijotuskasti
psykopodiaa-podcast
mimmit-sijoittaa
rss-rahapodi
rss-lahtijat
rss-draivi
oppimisen-psykologia
rss-porssipuhetta
rss-rahamania
rahapuhetta
taloudellinen-mielenrauha
rss-neuvottelija-sami-miettinen
rss-bisnesta-bebeja
rss-paatos-podcast-suomen-kovimmat-paatoksentekijat-2
rss-seuraava-potilas
rss-inderes
rss-40-ajatusta-aanesta
kasvun-kipuja
rss-h-asselmoilanen
rss-porssipodi