We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ab4370 commit 4f3d13cCopy full SHA for 4f3d13c
example/pages/users/[id].tsx
@@ -1,5 +1,10 @@
1
-export default function User() {
2
- return <div>user</div>;
+export default function User(props: any) {
+ return (
3
+ <div>
4
+ user {JSON.stringify(props)}
5
+ <div onClick={() => history.back()}>back</div>
6
+ </div>
7
+ );
8
}
9
10
export function getServerSideProps(props: any) {
0 commit comments