From 8968fd6a67006ce0d5d059c1f0c9198a8847e539 Mon Sep 17 00:00:00 2001 From: Alon Bartur Date: Sat, 15 Jul 2017 18:20:15 +0300 Subject: [PATCH] docs(migration): fix key value + adding close tag for CSSTransition when needed --- Migration.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Migration.md b/Migration.md index 6ed3a2f8..f9c00d36 100644 --- a/Migration.md +++ b/Migration.md @@ -63,7 +63,7 @@ class TodoList extends React.Component { render() { const items = this.state.items.map((item, i) => ( -
this.handleRemove(i)}> +
this.handleRemove(i)}> {item}
)); @@ -88,7 +88,7 @@ The most straightforward way to migrate is to use `` instead of ```diff render() { const items = this.state.items.map((item, i) => ( -
this.handleRemove(i)}> +
this.handleRemove(i)}> {item}
)); @@ -141,14 +141,14 @@ Now we add the `` component: render() { const items = this.state.items.map((item, i) => ( +
this.handleRemove(i)}> {item}
-+ ++ )); return ( @@ -184,7 +184,7 @@ We can then use it like: render() { const items = this.state.items.map((item, i) => ( - @@ -192,7 +192,7 @@ We can then use it like:
this.handleRemove(i)}> {item}
-- +- + ));