Skip to content

Git Recovering From Common Mistakes vs React Hooks Advanced Patterns

Compare these two topics side by side to decide which to study first — or tackle both!

💻

Git Recovering From Common Mistakes

Programming

105

Cards

~53m

Study time

Advanced

Difficulty

Sample questions

  • Undo the last commit but keep changes staged.
  • Undo the last commit AND discard changes.
  • Undo the last commit but keep changes unstaged in the working tree.
  • Amend the last commit message.
  • Amend the last commit to include forgotten files.
Study Git Recovering From Common Mistakes →
💻

React Hooks Advanced Patterns

Programming

224

Cards

~112m

Study time

Advanced

Difficulty

Sample questions

  • Why does useEffect run twice in dev?
  • Common cause of infinite useEffect loop?
  • How does useCallback help?
  • useMemo vs useCallback?
  • useRef common uses?
Study React Hooks Advanced Patterns →

🤔 Which should you study first?

Both topics are in the Programming category, so they complement each other well. We suggest starting with the smaller deck to build momentum:

Git Recovering From Common Mistakes

105 cards · ~53 min · Advanced

⭐ Quicker to complete

React Hooks Advanced Patterns

224 cards · ~112 min · Advanced

📊 More comparisons