Frontend First

Key props vs. effects


Listen Later

Sam and Ryan talk about how both the key prop and useEffect can be used to solve similar problems, and discuss which approach is better. They also talk about the difference between handling data using models with methods vs. using POJOs with pure functions.

Topics include:

  • 0:34 – Model with methods vs POJOs with functions
  • 16:44 – Comparing explicit, verbose code in React vs. other frameworks
  • 29:34 – Dumb vs. smart components, and using keys vs. effects
  • 47:47 – If a high-level API misses enough use cases, should it even exist?

Links:

  • Sebastian's tweet about using the key prop
  • Sam and Ryan's video hacking on the REPL
...more
View all episodesView all episodes
Download on the App Store

Frontend FirstBy Sam Selikoff, Ryan Toronto

  • 4.8
  • 4.8
  • 4.8
  • 4.8
  • 4.8

4.8

19 ratings


More shows like Frontend First

View all
Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

Syntax - Tasty Web Development Treats

986 Listeners