unistore sucks i think
This commit is contained in:
1 parent
baeaead650
commit
02aadcf2db
21 files changed
+4468
-1354
No files matched your search
@@ -0,0 +1,15 @@
|
||||
import { h } from 'preact';
|
||||
import { Link } from 'preact-router/match';
|
||||
|
||||
const Header = () => (
|
||||
<header class={'header'}>
|
||||
<h1>Mates Crates</h1>
|
||||
<nav>
|
||||
<Link activeClassName={'active'} href="/">Home</Link>
|
||||
<Link activeClassName={'active'} href="/profile">Me</Link>
|
||||
<Link activeClassName={'active'} href="/profile/john">John</Link>
|
||||
</nav>
|
||||
</header>
|
||||
);
|
||||
|
||||
export default Header;
|
||||
Reference in new issue
Block a user