Andrew Clark
288a4c4d6d
Reset invalid UpdateQueue fields when cloning from current
...
Similar to what cloneFiber does. No change in behavior, but it's more
consistent this way.
2017-01-09 17:14:09 -08:00
Andrew Clark
d4e971a266
Remove callbackList field from Fiber
...
Moves it to UpdateQueue instead so that we don't waste memory for
components that don't have update queues.
2017-01-09 17:10:10 -08:00
Richie Thomas
b2cc91e83a
Remove one extraneous backtick from line 116 of 'codebase-overview.md' ( #8724 ). ( #8726 )
2017-01-09 14:06:37 -06:00
Stuart Harris
c78e403d7b
Added React London conference, March 28th ( #8722 )
...
Thanks :-)
2017-01-09 09:28:20 -08:00
Brian Vaughn
67c16e3148
Merge pull request #8706 from bvaughn/dont-recreate-masked-context-unless-needed
...
Dont recreate maked context unless unmasked context changes
2017-01-09 08:45:01 -08:00
Nik Nyby
fa4f79f9fc
docs: add missing period in shouldComponentUpdate doc ( #8720 )
2017-01-09 08:22:04 -08:00
Jirat Ki
fb7e49439f
Add component stack to invalid element type warning ( #8495 )
...
* Show Source Error Addemden if __source available
* Add Parent Stack on invalid element type
* refactor to use normalizeCodeLocInfo
* Remove ( ) from addendum
2017-01-09 07:26:01 -08:00
Dan Abramov
fbfecd13ce
Write a release guide ( #8705 )
...
* Write a release guide
* Style nit
2017-01-09 06:39:27 -08:00
Dan Abramov
6b1c86020d
Add missing entry for #7750 to 15.4.2 changelog
2017-01-09 14:15:35 +00:00
Bruno Heridet
00846fd3a6
docs(hoc): fix typo Rambda → Ramda ( #8712 )
2017-01-08 10:26:46 -06:00
Brian Vaughn
a682059757
Dont recreate maked context unless unmasked context changes
...
Doing so can lead to infinite loops if componentWillReceiveProps() calls setState()
2017-01-07 08:53:24 -08:00
Dan Abramov
f589274604
Fix formatting
2017-01-06 20:33:03 +00:00
Dan Abramov
6df0793d51
Add 15.4.2 changelog
2017-01-06 20:18:50 +00:00
Brandon Dail
0b958fae65
Point all Webpack links to 1.x documentation ( #8697 )
...
* Point all Webpack links to 1.x documentation
* Add back webpack production guide, add warning
2017-01-06 12:51:26 -06:00
Brian Vaughn
933805b9d1
Merge pull request #8704 from murtazahaveliwala/patch-3
...
Update rendering-elements.md
2017-01-06 10:17:10 -08:00
Murtaza Haveliwala
97701ad6bf
Update rendering-elements.md
...
Updating text to be in sync with sample html
2017-01-06 23:32:26 +05:30
Murtaza Haveliwala
2cf475de4f
Updated hello world explanation message ( #8703 )
...
Output text in explanation now in sync with code sample
2017-01-06 11:59:14 -06:00
Dan Abramov
7f0dc413a2
No longer a WIP, eh?
2017-01-06 14:17:13 +00:00
Dan Abramov
bf763fd1a5
Revert "Add es6-promisify"
...
This reverts commit c8cd133116 .
It's not used in the code.
2017-01-06 06:00:09 -08:00
Dan Abramov
f91bff6264
Remove unused import
2017-01-06 06:00:09 -08:00
Ben Alpert
d8f166bd66
Tweaks to npm-publish task
2017-01-06 06:00:09 -08:00
Paul O’Shannessy
441e74fa1f
[rrm] Fix stable-prs command so it updates milestone correctly
2017-01-06 06:00:09 -08:00
Paul O’Shannessy
8796a0e70f
[rrm] Update version script to account for dep change
2017-01-06 06:00:09 -08:00
Christopher Chedeau
6db38a143c
Abort if not on -stable branch
2017-01-06 06:00:09 -08:00
Christopher Chedeau
ad16ab519d
Display the help at startup, otherwise it's hard to figure out what to do
2017-01-06 06:00:09 -08:00
Christopher Chedeau
7684c14d0c
Create data/ folder instead of crashing
2017-01-06 06:00:09 -08:00
Christopher Chedeau
a0bc99409d
Add es6-promisify
2017-01-06 06:00:09 -08:00
Paul O’Shannessy
b763dc8778
[rrm] Rewrite stable-prs command
...
Now with
- better UX (can skip, handle each failed cherr-pick individually)
- easier to read code
- better error handling / cancellation
2017-01-06 06:00:09 -08:00
Paul O’Shannessy
7b4f3ea2e3
[rrm] Use git helper for all git commands
2017-01-06 06:00:09 -08:00
Paul O’Shannessy
0fbe927486
[rrm] Create start-release command, create git utils
...
This does the essentials for starting a new release on the stable branch
2017-01-06 06:00:09 -08:00
Paul O’Shannessy
823030d26b
[rrm] Update init command to use Promise style
2017-01-06 06:00:09 -08:00
Paul O’Shannessy
14fd16b67b
[rrm] Improve init & config loading experience
2017-01-06 06:00:09 -08:00
Paul O’Shannessy
c9165e0dd1
[rrm] Update to account for new react-test-renderer package
2017-01-06 06:00:09 -08:00
Paul O’Shannessy
c46dd23f4a
[rrm] Add commands for npm access checking/granting
2017-01-06 06:00:09 -08:00
Paul O’Shannessy
cfd782471b
[rrm] Lint
2017-01-06 06:00:09 -08:00
Paul O’Shannessy
e3a41edd83
[rrm] npm-publish command
...
This will publish all packages in build/packages/*.tgz to the "next" tag. If the current version is "stable" (doesn't trigger semver.prerelease()) then it will also update the "latest" dist-tag to point at that version.
2017-01-06 06:00:09 -08:00
Paul O’Shannessy
0e9aa2e9a9
[rrm] Add logging to execInRepo, dry-run option
2017-01-06 06:00:09 -08:00
Paul O’Shannessy
114ec049d4
[rrm] stable-prs: update milestone on PRs
2017-01-06 06:00:09 -08:00
Paul O’Shannessy
91f957cb1d
[rrm] Move version reading up to app level
2017-01-06 06:00:09 -08:00
Paul O’Shannessy
a47041c0f7
Initial import of react-release-manager
2017-01-06 06:00:09 -08:00
Brandon Dail
8095ebaae7
[Fiber] Throw when attempting to unmount at an invalid node ( #8688 )
...
* Throw when attempting to unmount at an invalid node
* Remove extra character after invariant
2017-01-05 16:55:17 -08:00
Dan Abramov
ca2c71c0c5
Fix AMD and Brunch issues ( #8686 )
...
* Add manual build fixtures
* Inject ReactDOM into ReactWithAddons from ReactWithAddons
We used to read ReactDOM as a global inside ReactAddonsDOMDependenciesUMDShim.
This didn't work in AMD environments such as RequireJS and SystemJS.
Instead, I changed it so that ReactDOM gets injected into ReactWithAddons by ReactDOM itself.
This way we don't have to try to require it (which wouldn't work because AMD doesn't handle circular dependencies well).
This means you have to load ReactDOM first before using ReactDOM-dependent addons, but this was already the case before.
This commit makes all build fixtures pass.
* Memoize ReactDOM to avoid going into require on every access
* Add Brunch fixture
* Inline requires to work around Brunch bug
See #8556 and https://github.com/brunch/brunch/issues/1591#issuecomment-270742503 for context.
This appears to be a Brunch bug but we can keep a temporary fix until the next major.
2017-01-05 13:16:08 -08:00
Piotr Czajkowski
df0d2a5106
"Don't Mutate the Original Component" example and description mismatch ( #8695 )
2017-01-05 05:12:51 -08:00
Piotr Czajkowski
a52db12abf
Higher-Order Components docs withSubscription() example fix ( #8694 )
2017-01-05 04:56:13 -08:00
Andrew Clark
39278c41e2
Merge pull request #8685 from acdlite/fiberrefeffect
...
[Fiber] Update refs even if shouldComponentUpdate returns false
2017-01-04 14:28:44 -08:00
Andrew Clark
2517a11875
Update refs even if shouldComponentUpdate returns false
...
Implemented using a Ref effect type.
2017-01-04 12:05:25 -08:00
Dan Abramov
0e6f784259
Replace Starter Kit with doc link ( #8682 )
...
* Replace Starter Kit with doc link
* https in Babel link
2017-01-04 09:39:01 -08:00
Andre Giron
60767630bc
Fix typos ( #8632 )
...
* Fix typos
* Put back x in Latinx
2017-01-04 09:36:19 -08:00
Joel Sequeira
4fc4bd1214
Fix typo in Proposing a Change section in how-to-contribute.md ( #8498 )
...
* Fix typo in Proposing a Change section in how-to-contribute.md
Not sure if it was actually intended or was a typo but changed 'If you intend to change to the public API' --> 'If you intend to make a change to the public API'
* Simplify
2017-01-04 09:30:08 -08:00
Mateusz Burzyński
aa3fef9b67
[Docs] Fixed anchor links in Animations section ( #8453 )
2017-01-04 09:24:21 -08:00