Code AnalysisIntermediate 45s
Next.js getServerSideProps
When does this run?
Starter code
export async function getServerSideProps(ctx){
const data=await fetch('/api/data');
return {props:{data}};
}Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.