Content deleted Content added
→JSX: mention XHP |
|||
Line 45:
while the React libraries only render subcomponents that actually change.
For example, a shopping cart component would be written to render the entire shopping cart on any change of data. If a product line subcomponent had no changes to the properties, a cached rendering would be used. This means the relatively slow full update to the browser's DOM would be avoided. Alternately, if the product line quantity had changed, the product line subcomponent would be rendered; the resulting HTML might differ in only one node, and only that node would be updated in the
=== JSX ===
|