Skip to content

jdegand/tenzies

Repository files navigation

Scrimba Learn React Course - Section 4: Tenzies Game

Scrimba

Live Link

Takeaways

  • nanoid is quicker and smaller than uuid
  • Lazy state initialization is useful for expensive calculations when setting state for the first time
  • JSON.parse(undefined) crashes your program
  • Even if useEffect is running almost all the time(like this app), it is better to include the variable in the dependencies array

Improvements

  • Accessibility considerations

Resources