@samitouri / QOS-React / commits / abddb558ec

Remove smart quotes from code snippet

"Smart" quotes aren't actually very smart.

Daniel Lo Nigro committed Dec 21, 2015 at 15:53 UTC abddb558ec371e00ecbbe44a110dbcaaeb926289
1 file changed +1 -1
docs/_posts/2015-12-18-react-components-elements-and-instances.md
+1 -1
@@ -376,4 +376,4 @@ Finally, to create elements, use [`React.createElement()`](/react/docs/top-level
376 * [Streamlining React Elements](/react/blog/2015/02/24/streamlining-react-elements.html)
377 * [React (Virtual) DOM Terminology](/react/docs/glossary.html)
378
379 -[^1]: All React elements require an additional ``$$typeof: Symbol.for(‘react.element’)`` field declared on the object for [security reasons](https://github.com/facebook/react/pull/4832). It is omitted in the examples above. This blog entry uses inline objects for elements to give you an idea of what’s happening underneath but the code won’t run as is unless you either add `$$typeof` to the elements, or change the code to use `React.createElement()` or JSX.
379 +[^1]: All React elements require an additional ``$$typeof: Symbol.for('react.element')`` field declared on the object for [security reasons](https://github.com/facebook/react/pull/4832). It is omitted in the examples above. This blog entry uses inline objects for elements to give you an idea of what’s happening underneath but the code won’t run as is unless you either add `$$typeof` to the elements, or change the code to use `React.createElement()` or JSX.