Capture pushState events.

This commit is contained in:
Mike Cao 2020-07-18 22:51:17 -07:00
parent 58a1c63407
commit eebf145efc
6 changed files with 81 additions and 48 deletions

View file

@ -1,14 +1,19 @@
import React from 'react';
import Layout from 'components/layout';
import Link from 'next/link';
export default function Home() {
return (
<Layout>
Hello.
<br />
<a href="/?q=abc">abc</a>
<Link href="/?q=abc">
<a>abc</a>
</Link>
<br />
<a href="/?q=123">123</a>
<Link href="/?q=123">
<a>123</a>
</Link>
</Layout>
);
}