Browse Source

Missing comma in blog/2017-11-28-react-v16.2.0-fragment-support (#366)

Children in an array must be separated by commas – but a comma was missing in the middle of the example.
main
Ivan Babak 7 years ago
committed by Dan Abramov
parent
commit
6dfa6f782a
  1. 2
      content/blog/2017-11-28-react-v16.2.0-fragment-support.md

2
content/blog/2017-11-28-react-v16.2.0-fragment-support.md

@ -57,7 +57,7 @@ render() {
return [ return [
"Some text.", "Some text.",
<h2 key="heading-1">A heading</h2>, <h2 key="heading-1">A heading</h2>,
"More text." "More text.",
<h2 key="heading-2">Another heading</h2>, <h2 key="heading-2">Another heading</h2>,
"Even more text." "Even more text."
]; ];

Loading…
Cancel
Save