Skip to content

Commit 1816d06

Browse files
waciigaearon
authored andcommitted
Add guide on integrating with non-react code (facebook#9316)
* Add guide on integrating with non-react code * Capitalize guide title * Make links to other docs relative * Rephrase 'What it does do' * Remove experimental syntax * Capitalize Backbone * Remove empty lifecycle method in generic jQuery example * Use shouldComponentUpdate() not componentWillUpdate() * Prefer single quotes * Add cleanup to generic jQuery example * Capitalize React * Generalize the section on Backbone Views * Generalize the section on Backbone Models, a little * Add introduction * Adjust wording * Simplify ref callbacks * Fix typo in generic jQuery example * Fix typos in Backbone models in React components * Fix more typos in Backbone models in React components * Add generic section on integrating with other view libraries * Stress the benefits of an unchanging React element * Small changes to introduction * Add missing semicolon * Revise generic jQuery wrapper section Moved the section on using empty elements to prevent conflicts above the code example and added brief introduction to that example. * Add usage example for Chosen wrapper * Prevent Chosen wrapper from updating * Note that sharing the DOM with plugins is not recommended * Mention how React is used at Facebook * Mention React event system in template rendering section * Remove destructuring from function parameters * Do not name React components Component * Elaborate on unmountComponentAtNode() * Mention preference for unidirectional data flow * Rename backboneModelAdapter * Replace rest syntax * Respond to updated model in connectToBackboneModel * Rewrite connectToBackboneModel example * Rework connectToBackboneModel example * Misc changes * Misc changes * Change wording * Tweak some parts
1 parent 9824d52 commit 1816d06

File tree

2 files changed

+441
-0
lines changed

2 files changed

+441
-0
lines changed

docs/_data/nav_docs.yml

+2
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@
5050
title: Web Components
5151
- id: higher-order-components
5252
title: Higher-Order Components
53+
- id: integrating-with-other-libraries
54+
title: Integrating with Other Libraries
5355
- title: Reference
5456
items:
5557
- id: react-api

0 commit comments

Comments
 (0)