From abddb558ec371e00ecbbe44a110dbcaaeb926289 Mon Sep 17 00:00:00 2001 From: Daniel Lo Nigro Date: Mon, 21 Dec 2015 15:53:30 +1100 Subject: [PATCH] Remove smart quotes from code snippet "Smart" quotes aren't actually very smart. --- .../2015-12-18-react-components-elements-and-instances.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_posts/2015-12-18-react-components-elements-and-instances.md b/docs/_posts/2015-12-18-react-components-elements-and-instances.md index a69abdaae4..f0f0173565 100644 --- a/docs/_posts/2015-12-18-react-components-elements-and-instances.md +++ b/docs/_posts/2015-12-18-react-components-elements-and-instances.md @@ -376,4 +376,4 @@ Finally, to create elements, use [`React.createElement()`](/react/docs/top-level * [Streamlining React Elements](/react/blog/2015/02/24/streamlining-react-elements.html) * [React (Virtual) DOM Terminology](/react/docs/glossary.html) -[^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. +[^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.