From c1bf5a8a81a6cf38e73fd45133e5fd1351d18a08 Mon Sep 17 00:00:00 2001 From: Pete Hunt Date: Sun, 14 Jul 2013 16:46:37 -0700 Subject: [PATCH] Update 02.2-jsx-gotchas.md --- docs/refactor/02.2-jsx-gotchas.md | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/docs/refactor/02.2-jsx-gotchas.md b/docs/refactor/02.2-jsx-gotchas.md index 060128c2d..80f3bf195 100644 --- a/docs/refactor/02.2-jsx-gotchas.md +++ b/docs/refactor/02.2-jsx-gotchas.md @@ -52,28 +52,6 @@ As a last resort, you always have the ability to insert raw HTML.
``` -## Comments - -JSX supports both single-line and multi-line JavaScript comments within a tag declaration: - -```javascript -
-``` - -As of React 0.3, there is no good way to insert comments within the children section. [Issue #82](https://github.com/facebook/react/issues/82) is tracking progress to enable the following: - -```javascript -// Note: This is not implemented yet! -
- {/* This is a comment */} -
-``` - ## Custom HTML Attributes If you pass properties to native HTML elements that do not exist in the HTML specification, React will not render them. If you want to use a custom attribute, you should prefix it with `data-`.