You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/components/pages/GettingStarted.md
+19-27Lines changed: 19 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,12 +6,7 @@ building each widget entirely in React, it can leverage all of the benefits of t
6
6
and [philosophy](http://facebook.github.io/react/blog/2013/11/05/thinking-in-react.html). A big thanks to both of these libraries for solving most of the difficult problems already.
7
7
8
8
In keeping with the [React approach](http://facebook.github.io/react/docs/forms.html#controlled-components) to
9
-
form input components, each widget can be <em>controlled</em> or <em>uncontrolled</em>. If a `value` prop
10
-
is set the widget's value is said to be <em>controlled</em>, meaning the parent is responsible for managing its
11
-
state. If the widget does not provide a `value` prop, the widget becomes <em>uncontrolled</em> or responsible for
12
-
managing its own value with no other input, you can set a starting value for an uncontrolled widget
13
-
with the `defaultValue` prop. In addition to the `value` prop, widgets may allow other
14
-
props (such as `open` or `search`) to be controlled as well.
9
+
form input components, each widget can be [_controlled_ or _uncontrolled_](controllables).
15
10
16
11
Some widgets can also be "bound" to a set of data (traditionally an array of models) through a `data` prop.
17
12
While they work just as well with data primitives such as strings, numbers, and arrays, they really shine
@@ -42,48 +37,45 @@ bundlers like Webpack and Browserify to only package up the pieces you use savin
42
37
Stylesheets, images, and fonts are found in the `dist` directory. You can use Webpack to `require()` the styles,
43
38
or include the css normally. The included icons are provided by - <ahref="http://fontawesome.io">Font Awesome by Dave Gandy</a>
44
39
45
-
The global browser has some additional steps for including, a library for handling number and date localization (see the for more info on Globalize, or using other libraries).
0 commit comments