Brian Vaughn
72156c744f
Merge pull request #204 from gaearon/no-weakset
...
Replace WeakSet with return pointer check
2019-04-20 14:23:59 -07:00
Brian Vaughn
94d9f61a7d
Merge pull request #206 from gaearon/leading
...
Ignore leading edge of find-by-DOM throttle
2019-04-20 14:22:49 -07:00
Dan Abramov
006e03c38e
Ignore leading edge of find-by-DOM throttle
2019-04-20 22:17:12 +01:00
Dan Abramov
c0d7023a88
Replace WeakSet with return pointer check
2019-04-20 21:42:30 +01:00
Dan Abramov
02a3a22753
Push operations directly to the array
2019-04-20 21:05:52 +01:00
Brian Vaughn
4b9082eea1
Changed style and position of search-for-element button to more closely matchin Chrome ( based on user testing)
2019-04-20 10:44:03 -07:00
Dan Abramov
4ffdffb598
Fix scrolling to selected row in collapsed mode
2019-04-20 16:20:03 +01:00
Brian Vaughn
3697ed2bba
Merge pull request #199 from gaearon/another-check
...
Filter out dehydrated Suspense nodes
2019-04-20 08:00:14 -07:00
Brian Vaughn
da2ed30471
Merge pull request #200 from gaearon/clear-stuff
...
Clear DOM overlay on shutdown
2019-04-20 07:57:11 -07:00
Dan Abramov
d05106e364
Clear DOM overlay on shutdown
2019-04-20 14:34:13 +01:00
Dan Abramov
a186dc2e8d
Filter out dehydrated Suspense nodes
2019-04-20 13:57:33 +01:00
Nicolas Gallagher
d584fcdc6e
React events: use passive events where possible ( #15454 )
2019-04-19 13:09:03 -07:00
Nicolas Gallagher
051513bfa0
React Events: consolidate logic for Press event component ( #15451 )
...
Refactor of Press and additional regression coverage.
The logic for "start", "move", "end", and "cancel" events is consolidated into a single block to reduce duplication and improve consistency of the UX across input-types. Also reduces code size.
The bailout logic for anchor tags is removed since we preventDefault for click by default. We can discuss scenarios where it makes sense to limit functionality around interactions on anchor tags.
The logic for ignoring emulated events is simplified and improved. Pointer events can produce emulated touch (immediately after pointer) and mouse events (delayed) which is now accounted for and tested.
2019-04-19 10:05:28 -07:00
Nicolas Gallagher
cdfce1ad23
React events: consolidate logic of Hover event component ( #15450 )
...
Minor refactor of Hover and additional regression coverage.
2019-04-19 09:51:36 -07:00
Nicolas Gallagher
5857c89da2
React events: extract common helper functions ( #15449 )
2019-04-19 08:40:18 -07:00
Brian Vaughn
d7e8fccd1a
Fixed an OVERVIEW typo
2019-04-19 07:54:30 -07:00
Brian Vaughn
5b0b9c9fbc
Merge pull request #193 from gaearon/no-reorder
...
Don't reorder a single child
2019-04-19 07:51:51 -07:00
Dan
9a395c2f2c
No need to reorder empty children either
2019-04-19 13:21:09 +01:00
Dan
fb8ad3486e
Don't reorder a single child
2019-04-19 13:19:58 +01:00
Dan Abramov
2adbfd9607
Merge pull request #186 from gaearon/more-suspensey-stuff
...
Fix more Suspense issues
2019-04-19 13:18:50 +01:00
Dan
efb5855c8c
Nits
2019-04-19 13:17:17 +01:00
Dan
3e657a6031
Prettier
2019-04-19 13:09:25 +01:00
Dan Abramov
37dd1ec8f8
Merge branch 'master' into more-suspensey-stuff
2019-04-19 13:09:01 +01:00
Brian Vaughn
f286c0d901
Increased contrast for selected+inactive background color
2019-04-18 18:19:10 -07:00
Brian Vaughn
c6a27d1fea
Merge branch 'master' of github.com:bvaughn/react-devtools-experimental
2019-04-18 18:13:43 -07:00
Brian Vaughn
c0b414d581
Node scripts should fail if not NODE_ENV specified
2019-04-18 18:13:34 -07:00
Brian Vaughn
131e2e52db
Merge pull request #188 from gaearon/humble-search
...
Don't select search result unless user does something
2019-04-18 18:04:28 -07:00
Brian Vaughn
60b614f527
Renamed TREE_OPERATION_RESET_CHILDREN -> TREE_OPERATION_REORDER_CHILDREN
2019-04-18 17:59:53 -07:00
Brian Vaughn
24736e4ff5
Hardened reorder child invariants
2019-04-18 17:58:48 -07:00
Dan Abramov
3d09b4aaa5
Don't select search result unless user does something
2019-04-19 01:54:39 +01:00
Brian Vaughn
21afd6ea20
Merge pull request #184 from bvaughn/harden
...
Harden assertions
2019-04-18 17:50:17 -07:00
Dan Abramov
b0c0a11f1b
Revert accidental change
2019-04-19 01:41:00 +01:00
Dan Abramov
72e67b343f
Add Concurrent Mode test
2019-04-19 01:18:25 +01:00
Dan Abramov
534dfb0ca2
Optimize: don't recreate ID arrays all the time
2019-04-19 01:13:25 +01:00
Dan Abramov
8830ba890c
Fix more Suspense traversal bugs
2019-04-19 01:09:57 +01:00
Dan Abramov
346b628b43
Add failing tests for Suspense with same type
2019-04-19 00:36:55 +01:00
Dan Abramov
d44bf272ad
Refactor: materialize typed array in one place
2019-04-19 00:32:29 +01:00
Dan Abramov
ccecde76d1
Harden assertions
2019-04-19 00:29:49 +01:00
Brian Vaughn
3dfbf8ad6b
Added a new invariant to the store (bridge operations handler)
2019-04-18 15:40:50 -07:00
Brian Vaughn
7930bad8c6
Deploy production extension builds
2019-04-18 14:45:24 -07:00
Brian Vaughn
e2aedb2ea7
Merge pull request #181 from gaearon/consoleerror
...
Fail tests on errors in renderer
2019-04-18 10:08:44 -07:00
Dan Abramov
d0b5e3a7cb
Update setupTests.js
2019-04-18 18:06:34 +01:00
Brian Vaughn
d6e829d7a5
Fixed bug in reset-children to properly calculate new root weight
2019-04-18 09:54:26 -07:00
Brian Vaughn
89f7a0c048
Merge pull request #182 from bvaughn/suspense-toggle
...
Fixed a Suspense toggling bug that incorrectly impacted tree weight
2019-04-18 09:45:22 -07:00
Brian Vaughn
358e63ac3d
Fixed a Suspense toggling bug that incorrectly impacted tree weight
2019-04-18 09:38:41 -07:00
Dan Abramov
8c5794eab3
Fail tests on errors in renderer
2019-04-18 17:03:04 +01:00
Brian Vaughn
b45e743f52
Merge pull request #180 from gaearon/suspense-more-fixes
...
Fix unmounting in Concurrent Mode
2019-04-18 08:52:30 -07:00
Dan Abramov
6a13ffd231
Traverse the previous current tree when switching from primary to fallback
2019-04-18 16:22:50 +01:00
Dan Abramov
24309fde06
Add failing Concurrent Mode stress tests
2019-04-18 16:22:50 +01:00
Dan Abramov
0f44e9fb98
Move sync stress tests in their own file
2019-04-18 16:22:50 +01:00