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 135: Redux, Redux Toolkit, OSS and More with Mark Erikson

RRU 135: Redux, Redux Toolkit, OSS and More with Mark Erikson

Returning guest Mark Erikson joins the React Round Up team to discuss how he found himself in the position of being an open source maintainer for Redux, how he's helped shepherd/author future versions...

9 Maalis 20211h 6min

BONUS: How to get Freelance Clients to Come to You

BONUS: How to get Freelance Clients to Come to You

Charles Max Wood explains how he landed his first 4 freelance clients that took him through a few years of freelancing with only 3 years of experience and a few hundred podcast listeners. Funnily enou...

2 Maalis 202135min

RRU 134:  How to be a Top 5% Developer

RRU 134: How to be a Top 5% Developer

Charles Max Wood rejoins the show to discuss the things that help people take their careers from a job to a calling. The panel goes into publishing content, how to learn, meeting other people, and wor...

23 Helmi 202155min

RRU 133: React with Christopher Chedeau and Jordan Walke

RRU 133: React with Christopher Chedeau and Jordan Walke

This is a repeat episode of the JavaScript Jabber 146. Here's the original link https://devchat.tv/js-jabber/146-jsj-react-with-christopher-chedeau-and-jordan-walke/ Sponsors Dev Heroes Accelera...

17 Helmi 202156min

BONUS: Measuring Apps and Entrepreneurship with John-Daniel Trask

BONUS: Measuring Apps and Entrepreneurship with John-Daniel Trask

John-Daniel Trask, founder and CEO of Raygun, talks about his experience building a monitoring company and about how to measure the speed and quality of your code. Advertising Inquiries: https://red...

5 Helmi 202150min

BONUS: Measuring Apps and Entrepreneurship with John-Daniel Trask

BONUS: Measuring Apps and Entrepreneurship with John-Daniel Trask

John-Daniel Trask, founder and CEO of Raygun, talks about his experience building a monitoring company and about how to measure the speed and quality of your code. Advertising Inquiries: https://red...

5 Helmi 202150min

RRU 132: What is a Top 5% Developer?

RRU 132: What is a Top 5% Developer?

This is a repeat episode of Ruby Rogues 485 The Rogues dive into who are top 5% developers, what they're doing and how to recognize them. They start out discussing how mid-level developers can move u...

2 Helmi 20211h 11min

RRU 131: Data Visualization at Scale with Andrey Goncharov

RRU 131: Data Visualization at Scale with Andrey Goncharov

Software Engineer Andrey Goncharov joins the React Round Up crew to discuss how his company Hazelcast has approached visualizing hundreds of data points on potentially hundreds of computers in a way t...

19 Tammi 202146min

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