mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
### Why? In preparation for moving all turbopack crates Also makes them easier to work with in general. Closes PACK-3164
8 lines
181 B
JavaScript
8 lines
181 B
JavaScript
export async function getServerSideProps({ query }) {
|
|
return { props: { prop: query.prop } }
|
|
}
|
|
|
|
export default function GspPage({ prop }) {
|
|
return <div id="prop">{prop}</div>
|
|
}
|