RRU 088: Frustrations with React Hooks with Paul Cowan
React Round Up19 Nov 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.

Episoder(310)

BONUS: What is Charles Max Wood's Biggest Payoff for Being a Dev Influencer?

BONUS: What is Charles Max Wood's Biggest Payoff for Being a Dev Influencer?

Charles Max Wood started podcasting because it sounded fun and because he wanted to talk about technology. He learned pretty quickly that it got him access to people who understood the things he wante...

9 Apr 202131min

RRU 138: React Component Tests for Humans with Miroslav Nikolov

RRU 138: React Component Tests for Humans with Miroslav Nikolov

On this episode of React Round Up we chatted with Miroslav Nikolov, a UI developer at one.com, about his approach to unit testing React components. Miroslav discussed writing components in a human-fri...

7 Apr 202141min

BONUS: How Jason Weimann Became a Game Developer

BONUS: How Jason Weimann Became a Game Developer

Jason Weimann started out as an enthusiast of the Massively Multiplayer Online Role Playing Game, Everquest. After becoming a software developer and building a collaborative community playing the game...

2 Apr 202139min

RRU 137: From QA to Developer with Rani Zilpelwar

RRU 137: From QA to Developer with Rani Zilpelwar

Changing careers into software development is always an interesting story and Rani Zilpelwar's story is no different. In this episode, Rani, the QA developer turned software consultant, talks about ho...

31 Mar 202157min

BONUS: Continuing Your Learning Journey by Finding Mentors as an Influencer

BONUS: Continuing Your Learning Journey by Finding Mentors as an Influencer

Chuck outlines how he's used his podcasts to find mentors to continue his learning journey over 12 years of podcasting. Some mentors have been long lived relationships while others have lasted only a ...

26 Mar 202130min

BONUS: Continuing Your Learning Journey by Finding Mentors as an Influencer

BONUS: Continuing Your Learning Journey by Finding Mentors as an Influencer

Chuck outlines how he's used his podcasts to find mentors to continue his learning journey over 12 years of podcasting. Some mentors have been long lived relationships while others have lasted only a ...

26 Mar 202130min

RRU 136: MIcro Front-Ends and Module Federation with Jack Herrington

RRU 136: MIcro Front-Ends and Module Federation with Jack Herrington

Jack Herrington joins TJ for a discussion about React, Micro Front-Ends, and Module Federation in Webpack. All of these are things that Jack has show off on his Youtube Channel. They discuss the how a...

23 Mar 202154min

BONUS: How Senior Developers Can Enjoy Learning Like They Were Juniors

BONUS: How Senior Developers Can Enjoy Learning Like They Were Juniors

Remember the amazing adventure it was to learn a new thing every day as a Junior Developer? It's easy to feel a little stuck or lost as a Senior developer since there aren't roadmaps or people looking...

16 Mar 202139min

Populært innen Business og økonomi

stopp-verden
dine-penger-pengeradet
lydartikler-fra-aftenposten
rss-penger-polser-og-politikk
e24-podden
rss-borsmorgen-okonominyhetene
pengepodden-2
pengesnakk
finansredaksjonen
rss-politisk-preik
utbytte
livet-pa-veien-med-jan-erik-larssen
morgenkaffen-med-finansavisen
tid-er-penger-en-podcast-med-peter-warren
stormkast-med-valebrokk-stordalen
rss-markedspuls-2
rss-sunn-okonomi
lederpodden
rss-pa-konto
okonomiamatorene