The library for web and native user interfaces.
fixes
petehunt committed
May 30, 2013 at 14:22 UTC
071201e84b240859073dcfb941a2f6250e3f30a2
3 files changed
+4
-4
docs/_includes/nav_docs.html
+1
-1
@@ -17,8 +17,8 @@
17
<li><a href="/react/docs/component-lifecycle.html"{% if page.id == 'docs-component-lifecycle' %} class="active"{% endif %}>Component Lifecycle</a></li>
18
<li><a href="/react/docs/event-handling.html"{% if page.id == 'docs-event-handling' %} class="active"{% endif %}>Event Handling</a></li>
19
<li><a href="/react/docs/advanced-components.html"{% if page.id == 'docs-advanced-components' %} class="active"{% endif %}>Advanced Components</a></li>
20
- <li><a href="/react/docs/api.html"{% if page.id == 'docs-api' %} class="active"{% endif %}>API</a></li>
20
<li><a href="/react/docs/mixins.html"{% if page.id == 'docs-mixins' %} class="active"{% endif %}>Mixins</a></li>
21
+ <li><a href="/react/docs/api.html"{% if page.id == 'docs-api' %} class="active"{% endif %}>API</a></li>
22
</ul>
23
</div>
24
</div>
docs/docs/api.md
+1
-2
@@ -2,8 +2,7 @@
2
id: docs-api
3
title: React API
4
layout: docs
5
-prev: advanced-components.html
6
-next: mixins.html
5
+prev: mixins.html
6
---
7
8
## React
docs/docs/mixins.md
+2
-1
@@ -2,7 +2,8 @@
2
id: docs-mixins
3
title: Mixins
4
layout: docs
5
-prev: api.html
5
+prev: advanced-components.html
6
+next: api.html
7
---
8
9
Mixins allow code to be shared between multiple React components. They're pretty similar to mixins in Python or traits in PHP. Let's look at a simple example: