Michał Gołębiowski-Owczarek
25d48a7281
Add gridArea to unitless CSS properties ( #13550 )
...
Ref #9185
2018-09-04 12:22:21 +01:00
Brian Vaughn
877f8bc6b2
Renamed schedule UMD forwarding methods to stay in-sync with SECRET_INTERNALS change ( #13549 )
2018-09-03 18:48:47 -07:00
Dan Abramov
0a96f90572
Revert "Extract common logic" ( #13547 )
...
* Revert "Fix test"
This reverts commit 17a57adde2 .
* Revert "Extract common logic (#13535 )"
This reverts commit 605da8b420 .
2018-09-03 21:46:16 +01:00
Dan Abramov
17a57adde2
Fix test
2018-09-03 21:39:45 +01:00
Heaven
605da8b420
Extract common logic ( #13535 )
2018-09-03 20:57:13 +01:00
Philipp
69f9f4127a
Document event bubble order ( #13546 )
...
This is documenting the current order in which events are dispatched
when interacting with native document listeners and other React apps.
For more context, check out #12919 .
2018-09-03 21:39:20 +02:00
Dan Abramov
c1ba7b8cfd
Remove www scheduler fork ( #13545 )
...
Remove unused www scheduler fork
2018-09-03 19:55:58 +01:00
Dan Abramov
b473d5f864
Secret exports: Scheduler => Schedule ( #13544 )
2018-09-03 19:51:30 +01:00
Dan Abramov
6312efc34f
Tweak README and description
2018-09-03 19:34:04 +01:00
Brian Vaughn
b92f947af1
Rename "react-scheduler" package to "schedule" ( #13543 )
...
* Git moved packages/react-scheduler -> packages/schedule
* Global find+replace 'react-scheduler' -> 'schedule'
* Global find+replace 'ReactScheduler' -> 'Scheduler'
* Renamed remaining files "ReactScheduler" -> "Schedule"
* Add thank-you note to schedule package README
* Replaced schedule package versions 0.1.0-alpha-1 -> 0.2.0
* Patched our local fixtures to work around Yarn install issue
* Removed some fixture hacks
2018-09-03 19:27:50 +01:00
Dan Abramov
3c1dcd349a
Expose less internals for TestUtils ( #13539 )
...
* Expose less internals for TestUtils
* Keep EventPluginHub for www
* Reorder to simplify
2018-09-03 17:21:00 +01:00
Fredrik Höglund
0b74e95d7b
Ignore noscript content on the client ( #13537 )
...
* Ignore noscript content on the client (#11423 )
* Fix failing test for ignoring noscript content
* Add a ServerIntegration test for noscript
2018-09-03 17:17:53 +01:00
Brian Vaughn
8a1e3962ab
Remove negative lookbehind from Rollup plugin that broke Node <= v8.9 ( #13538 )
2018-09-02 17:59:29 -07:00
Dan Abramov
9604d26aec
Rename ReactDOMFiber* to ReactDOM* ( #13540 )
2018-09-03 01:45:12 +01:00
Brian Vaughn
28b9289022
Tidied up scheduling UMD API forwarding test ( #13533 )
2018-09-01 13:05:21 -07:00
Brian Vaughn
bf8aa60925
Added Jest test to verify UMD API-forwarding for scheduling package ( #13532 )
...
* Added Jest test to verify UMD API-forwarding for scheduling package
* Added separate dev/prod UMD bundles for scheduler package
2018-09-01 12:52:26 -07:00
Heaven
0040efc8d8
Fix a typo ( #13531 )
2018-09-01 20:40:17 +01:00
Brian Vaughn
46950a3dfc
Interaction tracking follow up ( #13509 )
...
* Merged interaction-tracking package into react-scheduler
* Add tracking API to FB+www builds
* Added Rollup plugin to strip no-side-effect imports from Rollup bundles
* Re-bundle tracking and scheduling APIs on SECRET_INTERNALS object for UMD build (and provide lazy forwarding methods)
* Added some additional tests and fixtures
* Fixed broken UMD fixture in master (#13512 )
2018-09-01 12:00:00 -07:00
Dan Abramov
0452c9bba5
Add a regression test for #4618
2018-08-31 16:40:05 +01:00
Dan Abramov
c21bab6940
Add SSR regression test for #6119
2018-08-31 16:15:05 +01:00
Dan Abramov
0d3fc9de10
Add regression test for #6119
2018-08-31 16:09:29 +01:00
Dan Abramov
0f050ad7cc
Make regression test better
2018-08-31 15:57:02 +01:00
Dan Abramov
f943423231
Add a more precise regression test for #6219
2018-08-31 15:54:39 +01:00
Dan Abramov
6ff062e048
Fetch all tags in DOM fixtures
2018-08-31 14:38:53 +01:00
Ivan
a3e4d00089
Fixed typo ( #13519 )
2018-08-30 16:33:47 -07:00
Dan Abramov
b3d8c5376f
[RN] Remove isMounted() false positive warning ( #13511 )
2018-08-30 18:42:09 +01:00
Timothy Yung
d2123d6569
Sync React Native Flow Changes ( #13513 )
2018-08-29 13:54:58 -07:00
Dan
1c0ba70b4b
Fix test to use AsyncMode
...
Addresses one of the issues brought up by @NE-SmallTown in https://github.com/facebook/react/pull/13488#issuecomment-416805935
2018-08-29 13:20:16 +01:00
Brian Vaughn
6e4f7c7886
Profiler integration with interaction-tracking package ( #13253 )
...
* Updated suspense fixture to use new interaction-tracking API
* Integrated Profiler API with interaction-tracking API (and added tests)
* Pass interaction Set (rather than Array) to Profiler onRender callback
* Removed some :any casts for enableInteractionTracking fields in FiberRoot type
* Refactored threadID calculation into a helper method
* Errors thrown by interaction tracking hooks use unhandledError to rethrow more safely.
Reverted try/finally change to ReactTestRendererScheduling
* Added a $FlowFixMe above the FiberRoot :any cast
* Reduce overhead from calling work-started hook
* Remove interaction-tracking wrap() references from unwind work in favor of managing suspense/interaction continuations in the scheduler
* Moved the logic for calling work-started hook from performWorkOnRoot() to renderRoot()
* Add interaction-tracking to bundle externals. Set feature flag to __PROFILE__
* Renamed the freezeInteractionCount flag and replaced one use-case with a method param
* let -> const
* Updated suspense fixture to handle recent API changes
2018-08-28 18:58:11 -07:00
Dan Abramov
2967ebdbea
Remove buggy unstable_deferredUpdates() ( #13488 )
...
* Add a failing test for deferredUpdates not being respected
* Don't consider deferred updates interactive
* Remove now-unnecessary setTimeout hack in the fixture
* Remove unstable_deferredUpdates
2018-08-28 18:12:51 +01:00
Bryan M
1664b08f0c
added flow types to setInnerHTML ( #13495 )
2018-08-28 07:37:29 -07:00
Veekas Shrivastava
672e859d31
Add warning to prevent setting this.state to this.props referentially ( #11658 )
...
* add test to warn if setting this.state to this.props referentially
* Avoid an extra check
2018-08-28 14:17:44 +01:00
Heaven
29287f0886
Rename lowestPendingInteractiveExpirationTime ( #13484 )
...
* Rename lowestPendingInteractiveExpirationTime
* fix prettier
2018-08-27 10:27:45 -07:00
ryota-murakami
bb48622a36
[SSR Fixture] Update yarn.lock ( #13481 )
...
* Update yarn.lock
2018-08-27 08:28:06 -07:00
Heaven
d400d6d5ef
Replace magic number 1 with ELEMENT_NODE ( #13479 )
...
* Replace magic number 1 with ELEMENT_NODE
* Add flow pragma to HTMLNodeType
2018-08-27 08:16:24 -07:00
Sophie Alpert
340bfd9393
Rename ReactTypeOfWork to ReactWorkTags, ReactTypeOfSideEffect to ReactSideEffectTags ( #13476 )
...
* Rename ReactTypeOfWork to ReactWorkTags
And `type TypeOfWork` to `type WorkTag`.
* Rename ReactTypeOfSideEffect too
2018-08-26 13:40:27 -07:00
Rodrigo Bermúdez Schettino
53ddcec4f1
Correct syntax in CHANGELOG ( #13474 )
...
Non-breakable space was replaced with whitespace.
2018-08-25 19:08:20 +01:00
Dan Abramov
5cefd9b1e2
Stringify <option> children ( #13465 )
2018-08-23 00:24:05 +01:00
Philipp Spieß
3661616c28
Improve test harness of submit events ( #13463 )
...
This PR includes a test that I've enabled in #13358 and another test that we've discussed in #13462 as well as some random cleanup while I'm at it.
2018-08-22 22:46:37 +02:00
Dan Abramov
a1be17140d
Revert "Rely on bubbling for submit and reset events ( #13358 )" ( #13462 )
...
This reverts commit 725e499cfb .
2018-08-22 19:33:42 +01:00
Dan Abramov
90c92c7007
Fix warning message
2018-08-21 18:44:34 +01:00
Dan Abramov
5cb0f2bf51
Change www error shim API ( #13454 )
2018-08-21 18:38:27 +01:00
Brian Vaughn
e106b8c44f
Warn about unsafe toWarnDev() nesting in tests ( #12457 )
...
* Add lint run to warn about improperly nested toWarnDev matchers
* Updated tests to avoid invalid nesting
2018-08-21 07:43:02 -07:00
Brian Vaughn
026aa9c978
Bumped version to 16.4.3-alpha.0 ( #13448 )
...
* Bumped version to 16.4.3-alpha.0
* Bump react-is peer dep version in react-test-renderer
2018-08-20 14:28:43 -07:00
Matt Hamlin
3cae7543be
Update scroll restoration logic in suspense fixture ( #13437 )
2018-08-20 14:01:12 -07:00
Brian Vaughn
d670bdc6b1
Warn about ReactDOM.createPortal usage within ReactTestRenderer ( #12895 )
2018-08-20 10:03:22 -07:00
Dan Abramov
bf1abf478b
Fix React.lazy(forwardRef) ( #13446 )
...
* Fix React.lazy(forwardRef)
* Forbid bad typeof
2018-08-20 17:28:04 +01:00
Dan Abramov
e8571c798d
Tweak ReactTypeOfWork order ( #13444 )
2018-08-20 16:51:09 +01:00
Dan Abramov
973496b40c
Fix component name for React.lazy ( #13443 )
...
* Fix component name for React.lazy
* Fix lint
2018-08-20 16:43:25 +01:00
Dan Abramov
0beb2ee76b
Fix incorrect legacy context for factory components ( #13441 )
...
* Add a repro case for context bug
* Be explicit about whether context has been pushed
* Put cheaper check first
* Naming
2018-08-20 16:08:46 +01:00