Ben Ripkens
e14555caed
Use lowercase "string" so that the documentation complies with typecheckers
2014-02-04 09:05:52 +01:00
petehunt
aebfd641aa
more references
2014-02-03 23:33:20 -08:00
petehunt
9e1c6950b1
update docs for React.Children
2014-02-03 23:28:49 -08:00
Ben Ripkens
220687abda
Add new lines above use strict and keep directives at the top
2014-02-04 07:47:35 +01:00
Pete Hunt
0dc0b45f3c
Merge pull request #1018 from stoyan/patch-2
...
joe -> la web speed
2014-02-03 22:31:23 -08:00
Stoyan
c8a2018228
Update videos.md
2014-02-03 22:09:00 -08:00
Paul O’Shannessy
19ff353fdd
Merge pull request #975 from spicyj/transaction-no-catch
...
Refactor Transaction to not rethrow errors
2014-02-03 21:43:27 -08:00
Paul O’Shannessy
4992423547
Merge pull request #1005 from jjt/boolattr
...
Fix boolean attributes as per HTML5 spec
2014-02-03 18:17:46 -08:00
Ben Newman
6d4b470cfc
Merge pull request #1016 from benjamn/revert-pure-cjs-until-0.9
...
Revert commits switching from browserify to pure-cjs (on hold until after v0.9 ships).
2014-02-03 16:09:37 -08:00
Ben Newman
9f1ed709d0
Revert "Switched from browserify to pure-cjs bundler."
...
This reverts commit bff9731b66 .
2014-02-03 19:05:22 -05:00
Ben Newman
77c53dd5d4
Revert "More optimizations and fix for JSXTransformer build"
...
This reverts commit f1b7db9aef .
2014-02-03 19:05:15 -05:00
Ben Newman
e994e06c54
Revert "Removed redundant uglification"
...
This reverts commit 86373d924c .
2014-02-03 19:05:09 -05:00
Ben Newman
806e879566
Merge pull request #1002 from RReverser/pure-cjs
...
Switch from browserify to pure-cjs bundler.
2014-02-03 16:01:13 -08:00
Pete Hunt
fa046ca04e
Merge pull request #963 from bobeagan/patch-1
...
Replace "comments.json" with this.props.url in the docs tutorial code snippet
2014-02-03 15:08:17 -08:00
azure provisioned user
86373d924c
Removed redundant uglification
...
Removed uglification for separate files since it significantly slowed down build (browserify:min became 26 sec instead of 110, same for :addonsMin) while gave economy in ~70 bytes for min+gz version.
2014-02-03 22:06:38 +00:00
Cheng Lou
5dabba999b
add missing 'use strict' to getTestDocument
2014-02-03 12:52:46 -08:00
Cheng Lou
57bf7d21f3
fix transaction comment from componentDidRender to componentDidUpdate
2014-02-03 12:52:36 -08:00
Ben Newman
ce95c3d042
[React] Don't attach to document in ReactTestUtils.renderIntoDocument.
2014-02-03 12:51:34 -08:00
Ben Ripkens
92fdc1562d
Use strict in tests
2014-02-03 20:29:33 +01:00
Ben Ripkens
4e9352f8f8
Fix use strict warnings
2014-02-03 13:11:51 +01:00
Ben Ripkens
cd2aecc377
fix(ServerRendering): execution should be sync
...
The documentation states that React.renderComponentToString
'uses a callback API to keep the API async', but the
implementation is actually synchronous. In order to maintain
this contract the callback should always be called
asynchronously or be change to a synchronous API.
As per the discussion of pull request 982, the API should
be changed to a synchronous one.
2014-02-03 11:39:09 +01:00
Pete Hunt
85270ae154
Merge pull request #1012 from jaredly/patch-1
...
adding a link to react-router
2014-02-02 13:34:58 -08:00
Jared Forsyth
92a20220e7
adding a link to react-router
2014-02-02 01:23:12 -07:00
Pete Hunt
e4d1618f63
Update example-apps.md
2014-02-01 18:43:12 -08:00
Christopher Chedeau
78f3addd01
Merge pull request #1011 from petehunt/complementary-tools
...
Add a complementary tools page
2014-02-01 18:36:45 -08:00
Christopher Chedeau
036303ee90
Merge pull request #1010 from petehunt/meteorvid
...
Add link to meteor talk
2014-02-01 18:35:43 -08:00
petehunt
26c6ea961b
add example apps page
2014-02-01 18:11:00 -08:00
petehunt
aaada5e212
Add a complementary tools page
2014-02-01 17:43:56 -08:00
Pete Hunt
f18bda51d6
Update videos.md
2014-02-01 17:01:52 -08:00
petehunt
3119d66e26
Add link to meteor talk
2014-02-01 17:01:19 -08:00
Ben Alpert
98432365d9
[docs] Fix comma splice
2014-01-31 22:30:38 -08:00
Ben Alpert
a2e805b26e
Disable CodeMirror smart indentation
...
Fixes #966 .
2014-01-31 22:10:37 -08:00
jjt
f7949c1c23
Fix boolean attributes as per HTML5 spec
2014-01-31 17:24:48 -08:00
Paul O’Shannessy
fce6d114fe
Merge pull request #973 from syranide/hidethekill
...
Fix references to the old ReactID syntax
2014-01-31 15:33:57 -08:00
Ingvar Stepanyan
f1b7db9aef
More optimizations and fix for JSXTransformer build
...
* Dropped dependency on emulation of Node.js native modules.
* Added deamdify step for JSXTransformer build.
2014-01-31 21:53:08 +02:00
Christopher Chedeau
f1b54bc310
s/Mock DOM/Virtual DOM/
...
Let's be consistent with the naming
2014-01-31 10:57:06 -08:00
Richard D. Worth
e58064a8db
Update tutorial.md to still have jQuery script tag in later code sample
2014-01-31 12:13:52 -06:00
Ingvar Stepanyan
bff9731b66
Switched from browserify to pure-cjs bundler.
2014-01-31 18:25:09 +02:00
Sebastian Markbåge
1666935878
Merge pull request #1001 from kmeht/renderComponentDocs
...
Add documentation about React.renderComponent
2014-01-30 17:29:59 -08:00
Kunal Mehta
43a242b67f
Add documentation about React.renderComponent
...
Recently learned that components passed into `React.renderComponent` may not be the ones actually mounted. Also learned that it returns the mounted component. Added some documentation describing this.
2014-01-30 17:14:59 -08:00
Josh Duck
5d7563f706
Fix warning for numeric properties
...
Number('.1') === 0.1, and react uses dot-prefixed keys
for children. Whoops. Nuke the non-numeric requirement, and just
check a regex. This seems performant enough in micro-benchmarks:
http://jsperf.com/numericlike
2014-01-30 16:54:01 -08:00
Pete Hunt
4cbc4b58f6
Support children and ref for cloneWithProps()
...
We're not handling these correctly.
2014-01-30 16:53:47 -08:00
Pete Hunt
b225b34f91
Merge pull request #985 from petehunt/remove-react-page
...
Remove references to react-page
2014-01-30 10:40:48 -08:00
Pete Hunt
32f69713fc
Merge pull request #995 from Contra/patch-1
...
fix grammar mistake (reconciliation docs)
2014-01-30 10:40:28 -08:00
Eric Schoffstall
cf1089fa0e
fix grammar mistake
2014-01-29 20:19:51 -07:00
Josh Duck
00f2a053f0
Warn for numeric object properties
...
Numeric keys will be ordered sequentially in Chrome/Firefox.
Warn the user if such keys are set on a child.
2014-01-29 14:08:23 -08:00
Ben Newman
65490a09e6
Use querySelectorAll instead of getElementsByName in ReactDOMInput.
...
We've been able to use `querySelectorAll` in all the browsers that we
support for some time now, but we haven't been able to test code that uses
it in the older version of `jsdom` that we were using, until recently.
Besides the general goal of modernizing our code, the impetus for this
specific change is that I'm trying to support testing without having to
render nodes into an actual document. The `.getElementsByName` method is
only defined on `document` and only works if the nodes you care about are
contained by the document.
On the other hand, `querySelectorAll` works on any DOM node, and allows a
more precise selection of just the `<input type="radio">` elements that
have the appropriate name.
IE8's implementation of `querySelectorAll` supports attribute-based
selectors, which is all we need here.
2014-01-29 14:08:21 -08:00
Paul O’Shannessy
d8e9eb978b
Fix animation example code
...
key should never be index into an array or there are bugs. Especially in
transitions.
Fixes #853
2014-01-29 13:06:22 -08:00
Pete Hunt
46c6ac5bb0
Update 09.2-form-input-binding-sugar.md
2014-01-29 12:45:46 -08:00
Pete Hunt
132e8b3c43
Merge pull request #880 from jbaiter/reactlink_checkbox
...
Support two-way binding for checkboxes in LinkedValueMixin via 'checkedLink' property
2014-01-29 12:44:30 -08:00