Commit Graph

332 Commits

Author SHA1 Message Date
Cheng Lou 8dc36e396b docs tips fix small typo and code 2014-01-02 21:05:20 +01:00
Cheng Lou c5a2ca997c docs remove link to wiki page
Also some minor writing changes.
2013-12-31 05:59:08 +01:00
Ben Alpert 32753c59d4 Upgrade codemirror and enable line wrapping
Fixes #678.
2013-12-31 05:58:46 +01:00
Vjeux 16072437c3 Making 'native DOM' nodes more explicit in documentation 2013-12-31 01:38:22 +01:00
Ben Alpert 5e441d656f IE8 style fixes
- Add html5shiv so that HTML5 elements like header, footer, etc can be styled
- Remove a couple uses of :first-child/:last-child which IE8 doesn't support
2013-12-31 01:25:10 +01:00
Cheng Lou 0b63c665eb docs tips small refactorings 2013-12-31 00:13:10 +01:00
Ben Alpert 30178d4baf Make React website work in IE8
Fixes #406.

Empty conditional comment is for http://www.phpied.com/conditional-comments-block-downloads/.
2013-12-30 23:46:55 +01:00
Wincent Colaiuta 0e95e8e76d Fix a typo in the working-with-the-browser docs 2013-12-30 23:44:07 +01:00
Cheng Lou cdb328be92 docs tips expose component function 2013-12-30 23:43:30 +01:00
jhiswin 4b7eb66b31 live_editor.js using deprecated function
unmountAndReleaseReactRootNode -> unmountComponentAtNode
breaks html-jsx.html
2013-12-30 19:57:41 +01:00
petehunt b55ebc0a95 Update parent/child communication tip 2013-12-30 19:45:40 +01:00
Vjeux 3a370b8db5 Community Round-up #13 2013-12-30 18:30:56 +01:00
Ben Alpert 12b94b0a8c Move initial $.ajax out of getInitialState
We want to encourage people to make pure getInitialState functions.
2013-12-30 18:30:48 +01:00
Ivan Kozik 880951f08c console.log -> console.error 2013-12-30 18:30:12 +01:00
Ivan Kozik 838589c37a Add a warning about the @jsx declaration 2013-12-30 18:30:07 +01:00
Ivan Kozik 0ae26fed60 Use explicit $.ajax dataType and add error callback 2013-12-30 18:30:00 +01:00
Cheng Lou c68b972618 docs add warning to add jsx pragma 2013-12-30 18:29:53 +01:00
Cheng Lou a35671a6ec docs remove video at the bottom 2013-12-24 07:45:37 +01:00
Vjeux 5a571e0777 Add a talks section to the docs 2013-12-24 01:31:56 -05:00
Fabio M. Costa 645e25d7a8 language update as suggested by @petehunt 2013-12-24 00:49:19 -05:00
Fabio M. Costa fa42d0cc6d updating text as suggested by @petehunt 2013-12-24 00:49:11 -05:00
Fabio M. Costa 0a8c2bb272 Adding note about onScroll on IE8 2013-12-24 00:49:06 -05:00
Fabio M. Costa 8de5a925fa Note about react's version on the talk, since somethings have already changed since then 2013-12-24 00:48:57 -05:00
Vjeux 14e05c9dbb typo 2013-12-23 18:54:16 +01:00
Vjeux 219f25c812 Fix html-jsx compiler
It changed React Playground to add a required props but unfortunately didn't update the call sites of the front-page. I don't think it should be required so I'm just making it optional and providing the correct default value.

Test Plan:
 - Open the front page and make sure examples are working
 - Open /react/jsx-compiler.html and make sure it is working
 - Open /react/html-jsx.html and make sure it is working
2013-12-23 18:32:13 +01:00
Daniel Lo Nigro c7a915993e Simple HTML to JSX converter, built during Hackathon 40 at Facebook.
See /react/html-jsx.html. Not directly linked from the site yet as there may still be some minor issues with it.
2013-12-23 18:32:04 +01:00
Vjeux 6d822d4149 Community Round-up #12 2013-12-23 18:04:55 +01:00
Vjeux b95fee3c0b Revert "Simple HTML to JSX converter, built during Hackathon 40 at Facebook."
This reverts commit 2308f95316.
2013-12-23 07:01:12 +01:00
Daniel Lo Nigro 2308f95316 Simple HTML to JSX converter, built during Hackathon 40 at Facebook.
See /react/html-jsx.html. Not directly linked from the site yet as there may still be some minor issues with it.
2013-12-23 06:14:39 +01:00
Cheng Lou dbc8563dfb docs make all link start with /react/docs 2013-12-23 06:14:32 +01:00
Cheng Lou 7eae8d3c4a docs add input attrs for Dom Differences 2013-12-23 06:14:00 +01:00
Kit Randel 37e544d817 Tutorial template markup needs a reference to jquery for the ajax calls
from step 13 onwards.
2013-12-23 06:12:45 +01:00
Jared Forsyth cd2fd806dc one liner 2013-12-23 06:12:38 +01:00
Jared Forsyth cb0cbcc305 changes as requested 2013-12-23 06:12:33 +01:00
Jared Forsyth 4f71ddfe5f adding note about initializing state w/ props 2013-12-23 06:12:27 +01:00
Nicholas Bergson-Shilcock 18410bf130 Fix typo (ot -> to) 2013-12-23 06:11:21 +01:00
Jared Forsyth 1a9b21313e fixing capitalization 2013-12-23 06:11:10 +01:00
Jared Forsyth 9686487e3a rename this tip to be less confusing
Using props to initialize state is completely fine; the issue is using state as a "cache" for values calculated based off of props. This title makes it more clear.
2013-12-23 06:11:03 +01:00
Brian Cooke 38d68fd1c5 Update highlighted lines in tutorial
Minor issue, but I found it distracting that the highlighted lines were not accurate. I *believe* this fixes them up.
2013-12-23 06:10:40 +01:00
Vjeux 0993b61fe8 Add video at the bottom of the front page 2013-12-23 06:10:23 +01:00
Vjeux 8f24fcae05 Document the Diff algorithm
We often refer to it but never did actually explain it.
2013-12-23 06:04:47 +01:00
Cheng Lou 94c100cc7a docs section for non-dom attributes
Also added documentation for `dangerouslySetInnerHTML`.
2013-12-23 06:04:42 +01:00
Paul O’Shannessy b9579e444b 0.8 starter kit 2013-12-19 13:16:07 -08:00
Paul O’Shannessy 4630540f87 v0.8 blog post 2013-12-19 10:42:22 -08:00
Paul O’Shannessy 2e1e868080 v0.8.0 2013-12-19 10:41:03 -08:00
Paul O’Shannessy b90ec8a8ec Add newest starter-kit downloads to docs 2013-12-18 17:01:30 -08:00
Paul O’Shannessy b4cc540a7b Add starter-kit zip files to repo
These should be included so that anybody can build and update the docs
with as little confusion as possible.

I've left the directory in .gitignore so additions need to be
intentional as part of a release.
2013-12-18 17:01:30 -08:00
Paul O’Shannessy 76dc1f7661 Changelog, blog post for 0.5.2, 0.4.2 2013-12-18 16:46:31 -08:00
Ben Alpert 8048f96b42 Add loop property 2013-12-17 10:45:01 -08:00
Cheng Lou 48af9c7bda docs tips parent-child communication 2013-12-02 15:49:27 -08:00