Skip to content

React Hooks Advanced Patterns vs Regex Patterns Every Developer Should Know

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

💻

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 →
💻

Regex Patterns Every Developer Should Know

Programming

120

Cards

~60m

Study time

Advanced

Difficulty

Sample questions

  • What does the regex metacharacter <code>.</code> match by default?
  • Which character class matches any single digit in most regex flavors?
  • What does the shorthand <code>\w</code> match?
  • What does the shorthand <code>\s</code> match?
  • How do you match a literal dot in a regex?
Study Regex Patterns Every Developer Should Know →

🤔 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:

React Hooks Advanced Patterns

224 cards · ~112 min · Advanced

Regex Patterns Every Developer Should Know

120 cards · ~60 min · Advanced

⭐ Quicker to complete

📊 More comparisons