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)

RRU 130: How to Manage 80K Lines of Code as a Solo Developer

RRU 130: How to Manage 80K Lines of Code as a Solo Developer

On this episode of React Round Up we talked to Dragos Bulugean about starting your own business, and managing really big apps. Dragos created Archbee, a service for helping companies manage documentat...

12 Tammi 202150min

RRU 129: All Things Jamstack with James Quick

RRU 129: All Things Jamstack with James Quick

This week we chatted with James Quick from Auth0 about all things Jamstack. We discussed what the Jamstack is, and walked through a ton of interesting tools and frameworks–including Gatsby, Next.js, A...

5 Tammi 202157min

BONUS: How to Crush Your Biggest Goals in 2021

BONUS: How to Crush Your Biggest Goals in 2021

Get the 2020 Goal Setting Workshop + Success Accelerator Deal HERE (Coupon Code: GOALS for a massive discount) Mani Vaya joins Charles Max Wood to walk him through the 6 pillars of success that lea...

1 Tammi 20211h 7min

RRU 128:Web Components with Ben Farrell

RRU 128:Web Components with Ben Farrell

On this episode we chatted with Ben Farrell, author of Web Components in Action, about all things web components. We talked about the status of web components, the best way to get started today, and a...

22 Joulu 202044min

REACT 127: Building Component Libraries with Kathryn Grayson Nanz

REACT 127: Building Component Libraries with Kathryn Grayson Nanz

Senior Frontend Engineer Kathryn Grayson Nanz joins the React Round Up team to talk about all things component libraries. Kathryn shares her experiences building not one but two component libraries, a...

8 Joulu 202050min

REACT 126: A Gentle Introduction to Serverless Apps With React with Joe Karlsson

REACT 126: A Gentle Introduction to Serverless Apps With React with Joe Karlsson

On this episode of React Round Up we chatted with Joe Karlsson from MongoDB. We talked about all things serverless, from how to get started, to which sort of apps are good fits for serverless services...

2 Joulu 202058min

BONUS: How to do LARGE Volumes of HIGH Quality Work - While Spending Fewer Hours Working

BONUS: How to do LARGE Volumes of HIGH Quality Work - While Spending Fewer Hours Working

Get the Black Friday/Cyber Monday "Double Your Productivity by 5pm Today" Deal Coupon Code: "DEEP" for a GIANT discount Mani provides us with strategies and tactics to get Deep Work time and how to...

27 Marras 202047min

RRU 125: Put Down the JavaScript & Learn the Web Fundamentals with Colby Fayock

RRU 125: Put Down the JavaScript & Learn the Web Fundamentals with Colby Fayock

Colby Fayock, lead developer, book author and speaker, joins the React Round Up team to discuss why developers should focus on more than just leveling up their JavaScript skills. Understanding HTML, C...

17 Marras 202054min

Suosittua kategoriassa Liike-elämä ja talous

sijotuskasti
mimmit-sijoittaa
psykopodiaa-podcast
rss-rahapodi
rss-draivi
oppimisen-psykologia
rss-rahamania
rss-seuraava-potilas
taloudellinen-mielenrauha
rss-porssipuhetta
rss-lahtijat
rss-inderes
rss-sami-miettinen-neuvottelija
pomojen-suusta
rss-h-asselmoilanen
rss-bisnesta-bebeja
rss-viisas-raha-podi
asuntoasiaa-paivakirjat
rss-paatos-podcast-suomen-kovimmat-paatoksentekijat-2
rss-bisnespaiva