Commit Graph
7924 Commits
Author SHA1 Message Date
Nathan Hunzaker 3decfd1306 Add test prompt message when no fixture is selected 2017-01-06 17:10:41 -05:00
Nathan Hunzaker 94c5d5523e Copy local build before starting 2017-01-06 17:10:41 -05:00
Nathan Hunzaker 2ce8cd0252 Remove babel include from react-loader 2017-01-06 17:10:41 -05:00
Brandon DailandNathan Hunzaker 4e8395660d Remove duplicate fixture components 2017-01-06 17:10:41 -05:00
Brandon DailandNathan Hunzaker 85a4f388bf Use create-react-app for fixtures application
This moves the current fixture architecture to one based around create-react-app. There are a few important things to note:

* The react-loader.js script is always loaded before the bundle and will populate React and ReactDOM on the window. It is then read from the window by all components.
* The UI for the "React Sandbox" or "React Fixtures App" is also rendered with whatever version of React the user has selected. This means we dont have to deal with iframes or worry about multiple versions of React potentially interferring. But it also means that all components must be written using createClass to be fully backwards compatable. I tested back to 0.13.1 and it works fine.
2017-01-06 17:10:41 -05:00
Brandon DailandNathan Hunzaker 8d6e158b72 Display value for controlled select and textarea 2017-01-06 17:10:30 -05:00
Nathan Hunzaker 5cf0e166f4 Fix lint issues in react-loader 2017-01-06 17:10:30 -05:00
Nathan Hunzaker 55a1b6f6e0 Update section on number inputs 2017-01-06 17:10:30 -05:00
Nathan Hunzaker a4753aa6b2 Add select, textarea, and range input fixtures
Also write up section on number inputs
2017-01-06 17:10:24 -05:00
Nathan Hunzaker 4f28124d94 Move new example changes to fixtures folder 2017-01-06 17:09:39 -05:00
Nathan Hunzaker d66ee3d49b Update input example readme 2017-01-06 17:08:23 -05:00
Nathan Hunzaker 009da531d9 Make toggleable test cases 2017-01-06 17:08:23 -05:00
Nathan Hunzaker a85eabfa46 Add React options loader. 2017-01-06 17:08:23 -05:00
Nathan Hunzaker e9bd712d59 Properly slice out question mark in query string 2017-01-06 17:08:23 -05:00
Nathan Hunzaker 64637f5c34 Add basic testing page 2017-01-06 17:08:23 -05:00
Dan AbramovandGitHub 5cb4bed3c3 Fix formatting 2017-01-06 20:33:03 +00:00
Dan Abramov 1f3cafad0e Add 15.4.2 changelog 2017-01-06 20:18:50 +00:00
Brandon DailandGitHub bac9d6bac5 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 VaughnandGitHub 2c894dda0b Merge pull request #8704 from murtazahaveliwala/patch-3
Update rendering-elements.md
2017-01-06 10:17:10 -08:00
Murtaza HaveliwalaandGitHub f2624ceaac Update rendering-elements.md
Updating text to be in sync with sample html
2017-01-06 23:32:26 +05:30
Murtaza HaveliwalaandBrandon Dail 25c8aeb2bd 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 AbramovandGitHub ff36216767 No longer a WIP, eh? 2017-01-06 14:17:13 +00:00
Dan Abramov edf1605b54 Revert "Add es6-promisify"
This reverts commit c8cd133116475677f35cb166b476c4921f59bfbb.

It's not used in the code.
2017-01-06 06:00:09 -08:00
Dan Abramov fa6317b473 Remove unused import 2017-01-06 06:00:09 -08:00
Ben AlpertandDan Abramov f0bf0bcf9b Tweaks to npm-publish task 2017-01-06 06:00:09 -08:00
Paul O’ShannessyandDan Abramov 1bb6c7d77d [rrm] Fix stable-prs command so it updates milestone correctly 2017-01-06 06:00:09 -08:00
Paul O’ShannessyandDan Abramov 217d320223 [rrm] Update version script to account for dep change 2017-01-06 06:00:09 -08:00
Christopher ChedeauandDan Abramov 0273a84a03 Abort if not on -stable branch 2017-01-06 06:00:09 -08:00
Christopher ChedeauandDan Abramov 5d2bb14654 Display the help at startup, otherwise it's hard to figure out what to do 2017-01-06 06:00:09 -08:00
Christopher ChedeauandDan Abramov 1919e78445 Create data/ folder instead of crashing 2017-01-06 06:00:09 -08:00
Christopher ChedeauandDan Abramov f312d22bcb Add es6-promisify 2017-01-06 06:00:09 -08:00
Paul O’ShannessyandDan Abramov 302daad21f [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’ShannessyandDan Abramov bd699783ac [rrm] Use git helper for all git commands 2017-01-06 06:00:09 -08:00
Paul O’ShannessyandDan Abramov 6950029891 [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’ShannessyandDan Abramov 6a25c883d4 [rrm] Update init command to use Promise style 2017-01-06 06:00:09 -08:00
Paul O’ShannessyandDan Abramov b73490e8df [rrm] Improve init & config loading experience 2017-01-06 06:00:09 -08:00
Paul O’ShannessyandDan Abramov aefaf6812d [rrm] Update to account for new react-test-renderer package 2017-01-06 06:00:09 -08:00
Paul O’ShannessyandDan Abramov 9dca908d63 [rrm] Add commands for npm access checking/granting 2017-01-06 06:00:09 -08:00
Paul O’ShannessyandDan Abramov 6657977761 [rrm] Lint 2017-01-06 06:00:09 -08:00
Paul O’ShannessyandDan Abramov fdcd19a1a6 [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’ShannessyandDan Abramov 82337b4a97 [rrm] Add logging to execInRepo, dry-run option 2017-01-06 06:00:09 -08:00
Paul O’ShannessyandDan Abramov 6eba27c4e4 [rrm] stable-prs: update milestone on PRs 2017-01-06 06:00:09 -08:00
Paul O’ShannessyandDan Abramov e02f20b5f4 [rrm] Move version reading up to app level 2017-01-06 06:00:09 -08:00
Paul O’ShannessyandDan Abramov c99cbb21e5 Initial import of react-release-manager 2017-01-06 06:00:09 -08:00
Brandon DailandAndrew Clark 394b06d6a6 [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 AbramovandGitHub 38d5eecdb3 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 CzajkowskiandDan Abramov b888d1395e "Don't Mutate the Original Component" example and description mismatch (#8695) 2017-01-05 05:12:51 -08:00
Piotr CzajkowskiandDan Abramov ab26702ef2 Higher-Order Components docs withSubscription() example fix (#8694) 2017-01-05 04:56:13 -08:00
Andrew ClarkandGitHub 632edbb83f 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 56d69b95ba Update refs even if shouldComponentUpdate returns false
Implemented using a Ref effect type.
2017-01-04 12:05:25 -08:00