From 0fd398b6fab4e15825c8ca319171daaef364873f Mon Sep 17 00:00:00 2001 From: Jesse McCarthy Date: Tue, 12 Apr 2016 10:59:57 -0400 Subject: [PATCH] Clarify changelog note about JS klass components The change is that you can no longer do `class Hello {}` vs `class Hello extends React.Component`; you can still do `function Klass () { return {render} }`. --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5abd8f3282782..e1e343e4537c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,7 +15,7 @@ - **`data-reactid` is no longer on every node.** As a result of using `document.createElement`, we can prime the node cache as we create DOM nodes, allowing us to skip a potential lookup (which used the `data-reactid` attribute). Root nodes will have a `data-reactroot` attribute and server generated markup will still contain `data-reactid`. ([@spicyj](https://github.com/spicyj) in [#5205](https://github.com/facebook/react/pull/5205)) - **No more extra ``s.** ReactDOM will now render plain text nodes interspersed with comment nodes that are used for demarcation. This gives us the same ability to update individual pieces of text, without creating extra nested nodes. If you were targeting these ``s in your CSS, you will need to adjust accordingly. You can always render them explicitly in your components. ([@mwiencek](https://github.com/mwiencek) in [#5753](https://github.com/facebook/react/pull/5753)) - **Rendering `null` now uses comment nodes.** Previously `null` would render to `