summaryrefslogtreecommitdiffstats
path: root/frontend/notes.md
diff options
context:
space:
mode:
authorWes Bos <wesbos@gmail.com>2018-04-13 11:03:27 -0400
committerWes Bos <wesbos@gmail.com>2018-04-13 11:03:27 -0400
commitfd01f1939b8db1e2da911b058f685cdb01bf3e71 (patch)
tree2b97a1fb8e1d2d224ea880b253c57c0b911f2a2d /frontend/notes.md
parent400a1c3028429d4a0946e29be65b32479eada02a (diff)
Death to index
Diffstat (limited to 'frontend/notes.md')
-rw-r--r--frontend/notes.md32
1 files changed, 0 insertions, 32 deletions
diff --git a/frontend/notes.md b/frontend/notes.md
index 3b8c1da..9ea38ef 100644
--- a/frontend/notes.md
+++ b/frontend/notes.md
@@ -1,37 +1,5 @@
-## Link
-
-Before we use next-routes, our links look like this:
-
-```js
- <Link
- href={{
- pathname: 'item',
- query: {
- slug: slugify(item.title),
- itemId: item.id,
- },
- }}
- >
-```
-
-Once we switch to next routes, our links look like this:
-
-```js
-import { Link } from '../routes';
-
-<Link
- route="item"
- params={{
- slug: slugify(item.title),
- itemId: item.id,
- }}
->
-```
-
## Commonly Used Terms
-Enhancer - These are just high order components that "infuse" the data we want into our components via props
-
Mutation
Query