Click in order · Vibe coding with Claude Code course · Module 14: Pinterest clone

Build: The column count without a hydration error

Click the elements to build the call from useColumnCount:

Items to click

  • () => 2
  • useSyncExternalStore(
  • )
  • () => columnsForWidth(window.innerWidth),
  • subscribe,

You can check the correct answer by solving this task in the CodeWorlds game.