This is a small thing but I've been caught a few times writing a client component and forgetting the 'use client' directive and then getting confused by the error message. (Cursor made the same mistake today as well)
rwsdk error
useState is not a function or its return value is not iterable
nextjs error
You're importing a component that needs useState. This React Hook only works in a Client Component. To fix, mark the file (or its parent) with the "use client" directive.
