c8bd427193
* Added basic example for dynamic routing * Added some basic docs for dynamic routing * Added more docs for dynamic routing * Used doctoc * fixed lint issues * Added useRouter to docs * Removed getInitialProps examples that are only using router props * Added useRouter to the navigation * Small fix * Updated to the latest dynamic routes implementation * lint fix * Update dynamic routing example * Tweak dynamic routing documentation * Make basic example basic again * Adjust dynamic routes section * Remove query param for dynamic routes example * Remove old note * Fix linting
10 lines
139 B
JavaScript
10 lines
139 B
JavaScript
import Header from '../components/header'
|
|
|
|
const Home = () => (
|
|
<>
|
|
<Header />
|
|
<h1>Hello World!</h1>
|
|
</>
|
|
)
|
|
|
|
export default Home
|