Ben Alpert
6bbd6976eb
Merge pull request #4239 from tako-black/change_word_to_uppercase
...
Change 'Javascript' to 'JavaScript'
2015-06-27 03:01:49 -07:00
Kohei TAKATA
aefb608fd6
Change 'Javascript' to 'JavaScript'
2015-06-27 18:49:41 +09:00
Jim
5fb8cbc6ca
Merge pull request #4232 from marocchino/update-docs
...
Update translated docs
2015-06-26 10:22:01 -07:00
Shim Won
ca6fa4b7e6
Add site title to first code snippet of getting started ( bd9d4b2)
2015-06-26 19:39:44 +09:00
Shim Won
c1b0550acf
Update script source ( c227a39)
2015-06-26 19:39:25 +09:00
Ben Alpert
ef00e856aa
Merge pull request #4204 from dpercy/patch-1
...
Fix docs typo: "overridden" -> "overwritten"
2015-06-24 23:18:23 -07:00
Jim
9bcc8dab93
Merge pull request #4222 from tako-black/translate_jsx-in-depth_to_japanese
...
Translate 02.1-jsx-in-depth.ja-JP.md to Japanese
2015-06-24 22:48:58 -07:00
Kohei TAKATA
f460a19d8a
Translate 02.1-jsx-in-depth.ja-JP.md to Japanese
2015-06-25 14:46:19 +09:00
li.li and Ben Alpert
63d0471580
Remove warnings in tests
...
For #3890 .
Squashed merge, closes #3925 .
2015-06-24 22:01:36 -07:00
Ben Alpert
0b0a436a41
Drop react-codemod.tgz from travis build
...
This didn't work anyway. See #4217 .
2015-06-24 18:41:34 -07:00
Ben Alpert
d87f50aab8
Merge pull request #4217 from brigand/patch-5
...
Fix travis after_script
2015-06-24 18:38:38 -07:00
Frankie Bagnardi
0677fe8f3b
Fix travis artifact upload
...
Changes:
- moves after_script to script
- adds `set -e`
- creates a seperate matrix 'build'
Way at the bottom of the travis output:
```
1571: curl: (26) couldn't open file "build/react.tgz"
```
This seems to be broken since 12c9fee94e
2015-06-24 18:09:34 -07:00
Ben Alpert
8f217c8a4b
Merge pull request #4215 from spicyj/prod-props
...
Set this.props on elements in prod mode
2015-06-24 16:38:14 -07:00
Ben Alpert
9ba28f317b
Merge pull request #4200 from spicyj/ten-thousand
...
Allow deeper trees
2015-06-24 16:33:30 -07:00
Ben Alpert
9c8c11dd07
Set this.props on elements in prod mode
...
Oops. Introduced in https://github.com/facebook/react/pull/4172 .
2015-06-24 16:26:40 -07:00
Jim
4431c90fa4
Merge pull request #4208 from battaile/master
...
Minor cleanup of ReactES6Class-test output by expecting the warning
2015-06-24 08:18:44 -07:00
Jim
484e20c02d
Merge pull request #4206 from yiminghe/fix_change_type
...
Set change event type in SyntheticEvent
2015-06-24 08:05:52 -07:00
Jim
b99fb2c92d
Merge pull request #4202 from tako-black/translate_displaying-data_to_japanese
...
Translate 02-displaying-data.md to Japanese
2015-06-24 07:42:48 -07:00
Battaile Fauber
41df3ce421
Check for warning when testing to see if error is thrown when render not defined
2015-06-24 08:03:36 -04:00
Ben Alpert
e80cccf87f
Merge pull request #4207 from yangshun/patch-1
...
Add site title to first code snippet of getting started
2015-06-24 02:24:04 -07:00
yiminghe
ee831d7550
optimize spec
2015-06-24 17:13:41 +08:00
Tay Yang Shun
bd9d4b2499
Add site title to first code snippet of getting started
2015-06-24 17:09:34 +08:00
yiminghe
47e9cfb975
fix change event type
2015-06-24 17:06:35 +08:00
David Percy
78018b99d6
Fix docs typo: "overridden" -> "overwritten"
...
I think this was meant to say "overwritten", since "the statement overwrites the data" makes more sense than "the statement overrides the data".
2015-06-24 01:54:54 -04:00
Kohei TAKATA
af34ca7b41
Translate 02-displaying-data.md to Japanese
2015-06-24 09:23:05 +09:00
Jim
3dc43840ef
Merge pull request #4188 from jisaacks/master
...
Generate reasonable markup even if tags have unexpected case.
2015-06-23 15:04:36 -07:00
JD Isaacks
d944d3f941
Prevent creating invalid closing tags
...
fixes #2756
2015-06-23 17:58:52 -04:00
Ben Alpert
fdaefc1103
Allow deeper trees
...
No reason to limit at 100. I can't imagine a reasonable tree with depth over 10,000 but that should still be small enough to "catch infinite loops" quickly.
2015-06-23 14:07:05 -07:00
Ben Alpert
c5fb3ff987
Merge pull request #4139 from spicyj/dom-refs
...
DOM components as refs
2015-06-22 16:58:01 -07:00
Ben Alpert
06b88c38f9
Merge pull request #4084 from spicyj/carc
...
Remove constructAndRenderComponent
2015-06-22 16:57:52 -07:00
Ben Alpert
d810079101
Remove constructAndRenderComponent
...
These were never part of the public API and shouldn't have been part of the React object. Now they're not.
2015-06-22 16:55:19 -07:00
Ben Alpert
eefda9377c
Add legacy methods to DOM components for compatibility
2015-06-22 16:51:21 -07:00
Ben Alpert
ffd527f593
DOM components as refs
...
Still missing: .props/.getDOMNode warnings.
2015-06-22 16:51:21 -07:00
Ben Alpert
643651b8e5
Wrap all top-level components for consistency
2015-06-22 16:51:04 -07:00
Sebastian Markbåge
9d2c9b5864
Merge pull request #4196 from oluckyman/componentDidUnmount-warning
...
Show warning when componentDidUnmount is defined
2015-06-22 16:48:27 -07:00
oluckyman
2568933ca3
Update warn message and move it to the error-catching block
2015-06-22 23:52:37 +02:00
Jim
859b7957b7
Merge pull request #4190 from dantman/fix-%s-module
...
Don't try building a %s module.
2015-06-22 14:45:19 -07:00
Ben Alpert
7e0a544ae3
Merge pull request #4164 from spicyj/jest-wc
...
Fix exceptions when running `grunt test --debug`
2015-06-22 14:22:41 -07:00
oluckyman
db40beafbe
Show warning when componentDidUnmount is defined
...
Fixes #4194
2015-06-22 21:09:33 +02:00
Daniel Friesen
357ed8ebd7
Add a comment about why the string is split up. For future readers of this file.
2015-06-22 12:04:29 -07:00
Daniel Friesen
c8d606196d
Don't try building a %s module.
...
React's build tools are reading the `require("react")` and `react("%s")` inside the warning string and thinking they are actual requires.
2015-06-21 21:14:04 -07:00
Ben Alpert
df05c6efb8
Fix typo in blog post
...
(#4183 )
2015-06-20 16:49:33 -07:00
Ben Alpert
64b5f043dd
Merge pull request #4170 from johanneslumpe/patch-1
...
Guard against a null node
2015-06-20 16:42:23 -07:00
Jim
ede27d2e86
Merge pull request #4172 from jimfb/freeze-props
...
Freeze ReactElement.props in dev mode
2015-06-19 14:13:17 -07:00
Johannes Lumpe
b16f9d42b1
Guard against a null node
...
This could fix #2619
2015-06-19 11:21:22 +03:00
Sebastian Markbåge
59dfe87d04
Merge pull request #4171 from sebmarkbage/simplifylifecycle
...
Simplified Life Cycles
2015-06-18 23:16:27 -07:00
Sebastian Markbage
c1330dcfcd
Unit tests for unmounted setState and isMounted
2015-06-18 22:55:52 -07:00
Jim
95373ce769
Freeze ReactElement.props in dev mode
2015-06-18 14:49:06 -07:00
Sebastian Markbage
8659223939
Lint fixes
2015-06-18 14:12:21 -07:00
Sebastian Markbage
dddebd1344
Use hack to support isMounted without stateful module
...
This hack allow us to get rid of the stateful module ReactLifeCycle since
we can infer the value of isMounted even without it. This gets rid of
the try/catch which is deopting all mountComponent calls.
As a next step we could deprecate isMounted completely and avoid stateful
APIs. Since it can be easily simulated if you truly need it.
2015-06-18 14:10:12 -07:00