1 Matching Annotations
- Dec 2016
-
facebook.github.io facebook.github.io
-
Conceptually, components are like JavaScript functions. They accept arbitrary inputs (called "props") and return React elements describing what should appear on the screen.
Components are JS doing rendering.
For a given component: I = props (arbitrary inputs) O = elements (describe view)
So a view on a screen is associated with components or haecceities, What's Happening, rather than with a background-environment Document, or Object, or Model, or quid-whatness-or-THING (person subj or substance) abut which they occur. D&G would have a field day over React. See also "Thinking in React."
-