Cheng Lou
ee8fa3760d
new line at end of nac_docs; update to entry 4
2013-10-29 14:02:20 -04:00
Connor McSheffrey
efaba68663
Removed Q&A format
2013-10-29 10:42:47 -07:00
Connor McSheffrey
33effd31d5
Removing the grunt task generated live edit JS files since we're holding off on the inline edit feature for now
2013-10-29 10:15:45 -07:00
Cheng Lou and Connor McSheffrey
271e7d50cf
better grammar
2013-10-29 10:15:45 -07:00
Cheng Lou and Connor McSheffrey
c235ec7421
entry on false behavior
2013-10-29 10:15:45 -07:00
Connor McSheffrey
6e28818ba9
Remove cb prefix from cookbook entries since they're already in /cookbook/ directory
2013-10-29 10:15:45 -07:00
Connor McSheffrey
95f3caaaa4
removed cookbook prefix from filenames
2013-10-29 10:15:45 -07:00
Connor McSheffrey
a7dd6e7c70
better regex for filename
2013-10-29 10:15:45 -07:00
Connor McSheffrey
30ab347b78
undo changes to extractCode, using grunt task instead
2013-10-29 10:15:45 -07:00
Connor McSheffrey
9585c407e2
added function that write to the output html file
2013-10-29 10:15:45 -07:00
Connor McSheffrey
9efd1f5e9b
added seperate cookbook layout (since URL base of next/prev is hardcoded in layout), added next/prev yaml meta to each cookbook entry until I can find a way of generating them dynamically
2013-10-29 10:15:45 -07:00
Connor McSheffrey
21c5c2a54e
update cookbook nav
2013-10-29 10:15:45 -07:00
Cheng Lou and Connor McSheffrey
a970957eef
remove entry 13 jquery animation; react has animation
2013-10-29 10:14:21 -07:00
Cheng Lou and Connor McSheffrey
119e29ff1d
one single child in ternary
2013-10-29 10:14:21 -07:00
Cheng Lou and Connor McSheffrey
7db760427c
add lib integration entry; tweak 1 sentence
2013-10-29 10:14:20 -07:00
Cheng Lou and Connor McSheffrey
6d2ea9a200
ajax ex
2013-10-29 10:14:20 -07:00
Cheng Lou and Connor McSheffrey
0475834470
fix all links to point to /react as root
2013-10-29 10:14:20 -07:00
Cheng Lou and Connor McSheffrey
48f1ee4940
change some wording, add tip for events entry
...
- No need to mention React, you know you're working with it =).
- Wrap code elements in back ticks, so that they get the "box" styling for md.
- You'd want the snippet to work inside the live editor, so you need to `renderComponent`. As per wiki specification, the DOM element on which to mount is `mountNode`, just like on the front page.
- Don't forget the JSX pragma, or else your `render` fails.
- Nitpick: empty line after the end of md.
- No need for jQuery reference since
1. The general mood around React is that you don't need jQuery.
2. The syntax' still clear without jQuery.
3. We're doing a jQuery integration entry =).
- `getInitialState` was absent.
- You don't need `componentWillMount` here. fetch them in `getInitialState`.
- The non-spoken convention seems to call the event handler `"handle" + eventName`. So `handleResize` clearly indicates it's a `resize` handler while `updateDimensions` might do something else. This latter name might actually be better under circumstances where you use call the method directly somewhere, but since we removed the only direct usage in `componentWillMount` this is fine.
- Went OCD again and tried to keep the code short. `width` is enough of a demo. Removed `height`.
- Distinguish between DOM events and React events. Wish we go full React events in a near future.
2013-10-29 10:14:20 -07:00
Cheng Lou and Connor McSheffrey
fb5f69f44e
modify some wording
2013-10-29 10:14:20 -07:00
Connor McSheffrey
e0df9cbb01
Add event listeners cookbook entry
2013-10-29 10:14:20 -07:00
Cheng Lou and Connor McSheffrey
1e56800543
shrink working on props in state entry
2013-10-29 10:14:20 -07:00
Cheng Lou and Connor McSheffrey
28f30b7ef0
props in getInitialState as anti-pattern
2013-10-29 10:14:20 -07:00
Connor McSheffrey
86355eb1ba
added grunt task for generating live samples JS
2013-10-29 10:14:20 -07:00
Cheng Lou and Connor McSheffrey
bfbcb5362b
tip format for intro
2013-10-29 10:14:20 -07:00
Cheng Lou and Connor McSheffrey
8d2b4a9a25
all typos
2013-10-29 10:14:20 -07:00
Connor McSheffrey
da722b92c0
Added backgroundImage example to "inline styles" cookbook entry
2013-10-29 10:14:20 -07:00
Connor McSheffrey
a4d7f3f907
minor spelling change on the "controlled input null value" cookbook entry
2013-10-29 10:14:20 -07:00
Cheng Lou and Connor McSheffrey
6377b2ed95
entry on willReceiveProps not triggered on mounting
2013-10-29 10:14:19 -07:00
Cheng Lou and Connor McSheffrey
dd52ef92a8
entry on controlled input with value null
2013-10-29 10:14:19 -07:00
Cheng Lou and Connor McSheffrey
9ed72b43e8
add line-height to unitless css props
2013-10-29 10:14:19 -07:00
Cheng Lou and Connor McSheffrey
f4bbe9c296
style prop value shorthand, children prop manip warning
2013-10-29 10:14:19 -07:00
Cheng Lou and Connor McSheffrey
814126dc52
entry on returning only one node from render
2013-10-29 10:14:19 -07:00
Cheng Lou and Connor McSheffrey
ff9246316f
fix permalink, temporarily remove script field of Jekyll
2013-10-29 10:14:19 -07:00
Cheng Lou and Connor McSheffrey
b92c433c50
small typo and code tag is now js highlight
...
Was html before bc github screws up the js highlighting for jsx.
2013-10-29 10:14:19 -07:00
Cheng Lou and Connor McSheffrey
7144ba1c10
new entry on self-closing tag
2013-10-29 10:14:19 -07:00
Cheng Lou and Connor McSheffrey
0fad22512a
new entry for ternary expression in jsx
2013-10-29 10:14:19 -07:00
Cheng Lou and Connor McSheffrey
4d9cde43be
add tip format for comparison
2013-10-29 10:14:19 -07:00
Cheng Lou and Connor McSheffrey
dc24bb63d6
add tip style to style entry
2013-10-29 10:14:19 -07:00
Connor McSheffrey
5f296768a5
Moved cookbook recipes into separate directory. Updated nav_docs to loop through cookbook yaml. Added cookbook directory to js/ to add live editing of code samples
2013-10-29 10:14:19 -07:00
Connor McSheffrey
dd5fbc5859
Added docs for React cookbook section Introduction and Inline Styles React recipe
2013-10-29 10:14:18 -07:00
Ben Alpert
25ba629098
Move heading anchors 50px up to avoid nav bar
...
Fixes #447 .
We do this by moving the actual anchored element up in the page without moving the actual text. (Apple uses a similar trick in their framed docs.) Now this looks a bit sillier on smaller screens but it's better overall.
2013-10-28 13:52:58 -07:00
Paul O’Shannessy
10f3d93df7
Update API docs for unmountAndReleaseReactRootNode
2013-10-26 17:42:34 -07:00
Brian Rue
c5cc145538
ReactTransitionGroup example: fix typo and logic bug in handleRemove
2013-10-25 18:03:31 -07:00
Keito Uchiyama
eeefe95958
docs: Delete Mutation Events (onCharacterDOMModified)
2013-10-21 19:56:49 -07:00
Paul O’Shannessy
5e65c186aa
docs: remove OUTLINE
2013-10-21 15:20:01 -07:00
Cheng Lou and Paul O’Shannessy
99dcdb87e3
Add clickable anchors to docs headers
...
Closes #434
2013-10-21 14:27:31 -07:00
Paul O’Shannessy
b46b6a8db9
Fix live editor examples on home page.
...
Remember that one time I wrote release notes and said:
> This is a breaking change - if you were using class, you must change
> this to className or your components will be visually broken.
Good thing I didn't listen to myself!
2013-10-16 17:56:51 -07:00
Paul O’Shannessy
44ad2b55e6
0.5.0 release
...
Updated README, CHANGELOG, blog post
2013-10-16 11:43:09 -07:00
Paul O’Shannessy
48281a17e4
bump version to 0.6.0-alpha
2013-10-15 22:39:28 -07:00
Paul O’Shannessy
451176665c
Update docs with supported tags and attributes
2013-10-15 18:15:24 -07:00