Put in order · Vibe coding with Claude Code course · Module 8: Slack clone

Sorting: A guest at a private channel address

Order what happens when a guest types the address /c/captains-secrets:

Items to put in order

  • canSeeChannel returns false, because the guest is not on the memberIds list
  • The page waits for params and reads the channel name
  • getCurrentMember() returns the logged-in guest
  • notFound() stops rendering and shows the 404 page

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