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 124: What's New in React with Shawn Wang

RRU 124: What's New in React with Shawn Wang

In this episode of React Round Up, we talked with Shawn Wang, a prolific React author, speaker and teacher, about the future of React. We discussed what’s new in React Core, the React routing world, R...

10 Marras 202031min

RRU 123: React Query, React Table, the TanStack and More with Tanner Linsley

RRU 123: React Query, React Table, the TanStack and More with Tanner Linsley

In this episode of React Round Up, Tanner Linsley, co-founder of startup Nozzle.io, and most known lately for his OSS project React Query, joins the panel today to discuss how he was inspired to creat...

27 Loka 202050min

RRU 122: Error Reporting and Bug Monitoring with James Smith

RRU 122: Error Reporting and Bug Monitoring with James Smith

In this episode of React Round Up we chatted with James Smith from Bugsnag. We talked about the importance of error monitoring and reporting, and how to actually implement those workflows in your prod...

13 Loka 202047min

RRU 121: DeFi-ing Expectations in React with Alex Thomas

RRU 121: DeFi-ing Expectations in React with Alex Thomas

In this episode of React Round Up, we talk with Alex Thomas, an open source enthusiast with hundreds of npm packages to his name. We talk about moving from React Native to React, and Alex’s prolific w...

6 Loka 202053min

RRU 120: Building An Internal Component Library With Dana Yudelevich

RRU 120: Building An Internal Component Library With Dana Yudelevich

In this episode of React Round Up, Dana Yudelevich shares her experiences of building internal component libraries. Dana explains in detail how she has built components in her previous jobs and the ch...

29 Syys 202055min

RRU 119: Building Web and Mobile Apps with Ely Lucas

RRU 119: Building Web and Mobile Apps with Ely Lucas

Ionic’s own Ely Lucas joins the React Round Up panel to discuss building the Ionic framework to work with React under the hood. Ely talks through how the team’s been hard at work making Ionic easy to ...

22 Syys 202050min

RRU 118: Creating Live Trippy Visuals with WebGL and Web Audio with Alex Kempton

RRU 118: Creating Live Trippy Visuals with WebGL and Web Audio with Alex Kempton

In this episode of React Round Up, Alex Kempton joins us to talk about Hedron, a tool he built for enhancing live audio shows with cool visuals. We chat about MIDI, WebGL and web audio, and how Alex w...

15 Syys 202059min

RRU 117: Making Frontend Developers Fullstack with Prisma with Nikolas Burk

RRU 117: Making Frontend Developers Fullstack with Prisma with Nikolas Burk

In this special episode of React Round Up, guest Nikolas Burk delves into the Prisma database and why it’s worth checking out. Panel James Brenton Guest Nikolas Burk Sponsor CacheFly Links www...

8 Syys 202048min

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