Recast key docs to be much clearer and more accurate (#2540)
* Recast key docs to be much clearer and more accurate [skip ci] Also, fix a couple broken hash links I noticed while making this. * Ensure `diff` blocks are highlighted correctly
This commit is contained in:
parent
d4551f49f5
commit
512eef378e
8 changed files with 505 additions and 193 deletions
|
|
@ -109,7 +109,7 @@ function Layout() {
|
|||
}
|
||||
```
|
||||
|
||||
This would end up [throwing an error](keys.md#avoid-mixing-keyed-and-non-keyed-vnodes-in-the-same-array) because here's what Mithril sees when creating the `Layout` vnode:
|
||||
This would end up [throwing an error](keys.md#key-restrictions) because here's what Mithril sees when creating the `Layout` vnode:
|
||||
|
||||
```javascript
|
||||
return [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue