site stats
A component becomes a Server Component when imported into the server environment.Not because it:❌ has an async keyword¹❌ doesn't have “use client”²❌ doesn't use hooks³❌ has “use server”⁴❌ Server components are the default⁵So, how are Server Components defined?
发布时间:
1
数据加载中
Markdown支持
评论加载中...
您可能感兴趣的: 更多