Marcin Kwiatkowski
5167b7a5b2
fix typo in 09.4-test-utils.md
2014-04-09 01:31:02 +01:00
Paul O’Shannessy
debd3318c7
Merge pull request #1379 from fkling/patch-1
...
Update 05-reusable-components.md
2014-04-08 15:45:19 -07:00
Felix Kling
af79caf1aa
Update 05-reusable-components.md
...
`any` also seems to accept primitive values, not only objects. And since we already have `React.PropType.object`, the description was confusing.
2014-04-08 15:43:24 -07:00
Christopher Chedeau
009be62906
Document multiple ways to insert comments in JSX
2014-04-08 15:24:09 -07:00
Paul O’Shannessy
ccafb030cb
Merge pull request #813 from spicyj/e-view-detail
...
Normalize view and detail properties
2014-04-08 14:23:46 -07:00
Ben Alpert
348399a594
Let early returns do their thing
2014-04-08 14:08:16 -07:00
Ben Alpert
4d62e1ef59
Don't fail if target.ownerDocument is null
...
See f71dbab .
2014-04-08 14:08:16 -07:00
Ben Alpert
5fa001b12c
Normalize view and detail properties
2014-04-08 14:08:16 -07:00
Cheng Lou
f0f59877aa
Make rendering to null work and make it injectable
...
This allows render to return `null`. Under the hood, this renders a `script` tag.
closes #1127
2014-04-08 10:12:18 -07:00
Paul O'Shannessy
af3c04b43b
Warn better for key issues
...
We weren't warning for key issues at the top level (renderComponent)
level at all. This makes us do that, even if it's not quite perfect.
closes #1351
2014-04-07 18:18:50 -07:00
Karl Mikkelsen
f0a8a397ac
Link to Events from Forms
...
closes #1372
2014-04-07 17:47:41 -07:00
Paul O’Shannessy
127e964808
Merge pull request #1362 from spicyj/cb-queue
...
Make MountReady more reusable, reduce allocations
2014-04-07 15:46:34 -07:00
Paul O’Shannessy
7f9ab471ac
Merge pull request #1365 from akre54/unminified-docs-js
...
Serve unminified react.js on docs site
2014-04-07 15:42:50 -07:00
Ben Alpert
216fcdeb42
Ignore children with clashing keys
...
Fixes #566 .
2014-04-07 13:50:42 -07:00
Paul O’Shannessy
40cbc074ee
Move complementary tools to wiki for easier management.
2014-04-07 12:56:38 -07:00
Pete Hunt
b75d11c603
Merge pull request #1356 from petehunt/server-rendering-example2
...
React server rendering example
2014-04-08 07:27:58 +12:00
Ben Alpert
6cafc638fa
Don't forcibly wrap lines in git commit messages
2014-04-06 23:17:51 -07:00
Adam Krebs
a6211a0fd8
Serve unminified react on docs site. Fixes #1359
2014-04-07 02:13:59 -04:00
Ben Alpert
59d2420b05
Add clearer invariants to composite spec mixing
2014-04-06 21:16:38 -07:00
Ben Alpert
ec6da04f6a
Make MountReady more reusable, reduce allocations
...
Test Plan:
grunt test
2014-04-06 17:06:12 -07:00
petehunt
9a78db3457
Initial add
...
Add readme
remove gitignore
fix graphic
2014-04-04 18:47:33 -07:00
Daniel Lo Nigro
21de5c816f
ReactJS.NET blog post
...
Closes #1354 .
2014-04-04 13:23:24 -07:00
Ben Alpert
ed0ef164c0
Fix appearance of code blocks in lists
2014-04-04 12:55:43 -07:00
Jeff Morrison
9c2b9b1eb6
Merge pull request #970 from syranide/jsxws
...
Normalize whitespace for transformed JSX code
2014-04-04 10:20:43 -07:00
Paul O’Shannessy
0617696ae4
Merge pull request #1251 from davidxi/patch-1
...
Update jasmine-support.js
2014-04-03 18:41:59 -07:00
Ben Alpert
933dde9c6d
Batch updates caused by handlers in multiple roots
...
Fixes #1227 .
It seems rare that event handlers in two roots nested in the DOM will update the same component in the same tick, but if that happens, the updates should be batched together.
2014-04-03 17:41:04 -07:00
Paul O’Shannessy
ed6f8aea77
Merge pull request #1258 from fisherwebdev/master
...
TodoMVC Flux Example
2014-04-03 15:10:42 -07:00
Paul O’Shannessy
4f6800c2a4
Merge pull request #1306 from twobit/master
...
Add dx and dy attributes for SVG text
2014-04-03 15:05:44 -07:00
Paul O’Shannessy
00aa33446b
Merge pull request #1325 from venmo/add-scrolling-attribute
...
Add scrolling attribute for <iframe>
2014-04-03 09:56:07 -07:00
Paul O’Shannessy
079749bac6
Merge pull request #1338 from chenglou/tip-children
...
[Docs][Tips] Entry on this.props.children and tweak component ref entry
2014-04-03 09:30:53 -07:00
Paul O’Shannessy
0aba933911
Merge pull request #1313 from spicyj/ms-prefix
...
Support `ms` vendor prefix when generating markup
2014-04-03 09:25:41 -07:00
Ben Alpert
67ff4e5050
Add acknowledgement to Christopher Aue
2014-04-03 07:33:32 -07:00
Ben Alpert
2d66fc4518
Add callback to setProps docs
2014-04-02 15:01:50 -07:00
Sebastian Markbage
b44761135e
Remove toJSON
...
This was temporarily needed since clone on mount introduced a cyclic reference
in __DEV__. This reverts that change since we now have descriptors.
To avoid a problem where toJSON may collide.
2014-04-01 17:07:57 -07:00
Paul O’Shannessy
8ccb363a8e
Merge pull request #1308 from chenglou/pure
...
add `ReactComponentWithPureRenderMixin` to addons
2014-04-01 14:32:18 -07:00
Ben Alpert
e86f7671a0
Merge pull request #1345 from kmeht/referenceDoc
...
[docs] Amend "References to components" tip to mention descriptors.
2014-04-01 13:40:22 -07:00
Kunal Mehta
93a033a94f
Remove erroneous line about static methods.
2014-04-01 13:36:56 -07:00
Kunal Mehta
d236a0538d
Simplify comment.
2014-04-01 13:04:09 -07:00
Kunal Mehta
da27fb049a
[docs] Amend "References to components" tip to mention descriptors.
2014-04-01 11:42:15 -07:00
Paul O’Shannessy
c8fc3e38ab
Merge pull request #1329 from irae/transition-group-leftovers
...
Remove leftovers from ReactTransitionGroup rewrite
2014-04-01 10:16:53 -07:00
Paul O’Shannessy
a2ed61ee66
Update mailmap post 0.10 (see #1283 )
2014-04-01 09:30:08 -07:00
Cheng Lou
dc7242c786
[Docs][Tips] Entry on this.props.children and tweak component ref entry
...
Component ref entry wasn't registered in nav_tips.
2014-03-31 19:13:16 -07:00
Ben Alpert
f63d0fe2b4
Merge pull request #1336 from Daniel15/making-zpao-happy
...
[Docs] Consistent use of self-closing tags in layout
2014-03-30 22:43:15 -07:00
Daniel Lo Nigro
306209be9e
[Docs] Consistent use of self-closing tags in layout
2014-03-30 22:42:02 -07:00
Ben Newman
60d16be90b
Merge pull request #1330 from spicyj/clone-imm
...
Clone objects in immutable tests.
2014-03-30 19:25:56 -04:00
Ben Alpert
42e20a1488
Fix jshint warnings in grunt/
...
Fixes #1052 .
Test Plan:
jshint grunt
2014-03-30 16:09:08 -07:00
Cheng Lou
7cbbff01e7
Merge pull request #1334 from spicyj/non-numeric-top-level
...
Don't break on top-level non-numeric object keys
2014-03-30 14:03:18 -07:00
Ben Alpert
a89ed9b8dc
Don't break on top-level non-numeric object keys
...
Previously, this threw (in `__DEV__` only) in `ReactCurrentOwner.current.constructor.displayName` because `ReactCurrentOwner.current` is null:
```
React.renderComponent(<div>{{1: <div />, 2: <div />}}</div>, document.body);
```
2014-03-30 13:55:45 -07:00
Christopher Chedeau
f99123b882
Merge pull request #1332 from chenglou/linter
...
[Jshint] Allow Jasmine globals in *-test.js
2014-03-30 13:13:49 -07:00
Stephen Murphy
468007612f
Merge branch 'master' of github.com:facebook/react
2014-03-30 12:53:26 -07:00