This Shouldn't Work But It Does🤔
https://github.com/Apestein/async-client-demo/tree/main
This is an async client component, this should not work and yet it does. The console.log will show up on client. It will not let you use useState but onClick will work.
If you do
This is an async client component, this should not work and yet it does. The console.log will show up on client. It will not let you use useState but onClick will work.
If you do
export default async function instead then it will give you an error as expected but export async function will work.