@samitouri / QOS-React-2 / commits / e04602f8ee

Use same type of markdown as everywhere else for Glossary

Andreas Savvides committed Sep 14, 2015 at 18:55 UTC e04602f8ee48b28d5b359db80a4f5ae05fda952d
1 file changed +5 -5
docs/docs/ref-09-glossary.md
+5 -5
@@ -44,7 +44,7 @@ var root = <ul className="my-list">
44 React.render(root, document.getElementById('example'));
45 ```
46
47 -__Factories__
47 +### Factories
48
49 A `ReactElement`-factory is simply a function that generates a `ReactElement` with a particular `type` property. React has a built-in helper for you to create factories. It's effectively just:
50
@@ -105,7 +105,7 @@ When this constructor is invoked it is expected to return an object with at leas
105 var component = new MyComponent(props); // never do this
106 ```
107
108 -Other than for testing, you would normally __never__ call this constructor yourself. React calls it for you.
108 +Other than for testing, you would normally *never* call this constructor yourself. React calls it for you.
109
110 Instead, you pass the `ReactComponent` Class to `createElement` you get a `ReactElement`.
111
@@ -140,13 +140,13 @@ The `render` method of a `ReactComponent` is expected to return another `ReactEl
140
141 ## Formal Type Definitions
142
143 -__Entry Point__
143 +### Entry Point
144
145 ```
146 React.render = (ReactElement, HTMLElement | SVGElement) => ReactComponent;
147 ```
148
149 -__Nodes and Elements__
149 +### Nodes and Elements
150
151 ```
152 type ReactNode = ReactElement | ReactFragment | ReactText;
@@ -180,7 +180,7 @@ type ReactText = string | number;
180 type ReactEmpty = null | undefined | boolean;
181 ```
182
183 -__Classes and Components__
183 +### Classes and Components
184
185 ```
186 type ReactClass<TProps> = (TProps) => ReactComponent<TProps>;