Dominic Gannaway and GitHub
094928135a
Flow type ReactDOMComponentTree ( #18280 )
2020-03-11 19:38:23 +00:00
Brian Vaughn and GitHub
7d06efcece
useMutableSource hook ( #18000 )
...
useMutableSource hook
useMutableSource() enables React components to safely and efficiently read from a mutable external source in Concurrent Mode. The API will detect mutations that occur during a render to avoid tearing and it will automatically schedule updates when the source is mutated.
RFC: reactjs/rfcs#147
2020-03-11 12:34:39 -07:00
Brian Vaughn and GitHub
c7e696b944
Fix flow types ( #18204 )
...
* Added missing @flow pragma to React.js
* Fixed useContext() return type definition
* Fixed previously masked Flow errors in DevTools and react-interactions packages
* Added displayName to internal Context Flow type
* Removed Flow generic annotations for createResponder
This seems to cause a parsing error. (Not sure why.) The API is deprecated anyway so I'm being lazy for now and just adding a .
2020-03-03 12:46:24 -08:00
Dominic Gannaway and GitHub
58ce18a895
[react-interactions] Remove deprecated Scope APIs + update Focus components/docs ( #17859 )
2020-01-17 12:16:39 +00:00
Dominic Gannaway and GitHub
da36a2221c
[react-interactions] Add DO_NOT_USE to Scope methods ( #17835 )
2020-01-15 09:50:09 +00:00
Dan Abramov and GitHub
fe1bbbae20
Update Flow to 0.84 ( #17805 )
...
* Update Flow to 0.84
* Fix violations
* Use inexact object syntax in files from fbsource
* Fix warning extraction to use a modern parser
* Codemod inexact objects to new syntax
* Tighten types that can be exact
* Revert unintentional formatting changes from codemod
2020-01-09 14:50:44 +00:00
Dominic Gannaway and GitHub
78238afe96
[react-interactions] Remove responder root event types + revert commit phase change ( #17577 )
2019-12-11 16:48:46 +00:00
Dominic Gannaway and GitHub
3985adf42c
[react-interactions] Expost host instance to Scope Query function ( #17341 )
2019-11-11 13:51:46 +00:00
Dominic Gannaway and GitHub
14058e7062
[react-interactions] Add optional searchNodes to Scope.queryAllNodes ( #17293 )
2019-11-06 22:52:59 +00:00
Dominic Gannaway and GitHub
6777721a07
[react-interactions] Modify Scope query mechanism ( #17095 )
2019-10-15 15:57:02 +02:00
Dominic Gannaway and GitHub
177752a7b3
[react-interactions] Adds more experimental Scope API methods ( #17042 )
2019-10-08 19:32:53 +02:00
Dominic Gannaway and GitHub
d72d53dc1a
[react-interactions] Add Portal propagation configuration ( #16889 )
2019-09-25 16:56:51 +02:00
Dominic Gannaway and GitHub
907a00ad79
[react-ui] FocusGrid -> ReactFocusTable + tweaks and fixes ( #16806 )
2019-09-17 19:22:10 +02:00
Dominic Gannaway and GitHub
5210f8eed7
[react-interactions] Refactor TabFocusController ( #16768 )
2019-09-12 22:28:07 +02:00
Dominic Gannaway and GitHub
0589768550
[react-interactions] More Tab Focus control handling ( #16751 )
2019-09-11 22:35:33 +02:00
Dominic Gannaway and GitHub
23c2df171a
[react-events] Various core tweaks for event responder system ( #16654 )
2019-09-04 18:05:56 +01:00
Dominic Gannaway and GitHub
faf74b5b56
[react-core] Add experimental React Scope component API ( #16587 )
2019-08-29 12:06:51 +01:00
Dominic Gannaway and GitHub
80ee845658
[Flare] Rework the responder dispatching/batching mechanism ( #16334 )
2019-08-19 19:22:46 +01:00
Dominic Gannaway and GitHub
520fc34334
[Flare] Tweaks to Flare system design and API ( #16264 )
2019-08-01 19:08:54 +01:00
Dominic Gannaway and GitHub
e86e6fc1b9
[Flare] Remove references to EventComponent ( #16206 )
2019-07-25 16:41:26 +01:00
Dominic Gannaway and GitHub
44acf39c90
[Flare] Redesign core event system ( #16163 )
2019-07-23 23:46:44 +01:00
Dominic Gannaway and GitHub
08ad2873c4
Adds experimental fundamental interface ( #16049 )
2019-07-19 22:20:28 +01:00
Dominic Gannaway and GitHub
4e4bf7822a
[Flare] Remove responder flags to simplify logic ( #16084 )
2019-07-09 15:05:45 +01:00
Dominic Gannaway and GitHub
4e7f2c8f88
[Flare] Revise responder event types ( #16081 )
2019-07-08 14:35:59 +01:00
Dominic Gannaway and GitHub
54a79bf26b
[Flare] Remove capture phase Flare events ( #16054 )
2019-07-04 21:30:46 +01:00
Dominic Gannaway and GitHub
815e342028
[Flare] createInitialState -> getInitialState ( #16051 )
2019-07-04 18:06:18 +01:00
Dominic Gannaway and GitHub
1c500bf3de
[Flare] Remove dead event target code ( #16063 )
2019-07-04 13:10:55 +01:00
Dominic Gannaway and GitHub
8e16f11d59
[Flare] Refinements to useEvent hook ( #15955 )
2019-06-21 23:10:55 +01:00
Dominic Gannaway and GitHub
3ae909dcd4
[Flare] Refine flow type annotations ( #15950 )
2019-06-21 12:32:43 +01:00
Dominic Gannaway and Andrew Clark
498afc97c5
[Flare] Add useEvent hook implementation ( #15927 )
...
* [Flare] Add useEvent hook implementation
Validate hooks have decendent event components
Few fixes and displayName changes
Fix more responder bugs
Update error codes
* Add another test
* Address feedback
2019-06-20 19:12:40 -07:00
Dominic Gannaway and GitHub
751d4b4363
[Flare] Add RN build step for ReactTypes ( #15926 )
2019-06-19 13:27:10 +01:00
Dominic Gannaway and GitHub
f01586ec26
[Flare] Move unstable_createEventComponent to ReactDOM ( #15890 )
2019-06-18 23:41:00 +01:00
Dominic Gannaway and GitHub
5a9b7905bd
[Flare] remove stopLocalPropagation option + modify responder ownership ( #15889 )
2019-06-14 23:11:54 +01:00
Dominic Gannaway and GitHub
5ba77153c7
[Flare] Refactor of Press to fix various issues ( #15878 )
2019-06-14 22:52:26 +01:00
Dominic Gannaway and GitHub
65a204c79c
[Flare] Improve runtime performance of hit target intersection ( #15836 )
2019-06-07 15:57:10 +01:00
Dominic Gannaway and GitHub
43e15a453a
[Flare] Fix ES6 issues with IE11 ( #15834 )
2019-06-06 18:38:46 +01:00
Andrew Clark and GitHub
a50a107140
[Flare] EventPriority enum ( #15823 )
...
* Same as previous commit, but for Flare
I don't know what the public API for setting the event priority should
be. Right now it accepts a numeric enum, but is this what we want?
Maybe it should be a string enum? I've punted on this for now.
* Add test for hover events
2019-06-04 17:20:06 -07:00
Dominic Gannaway and GitHub
25789d6ccd
[Flare] Deeply prevent default on anchor elements ( #15750 )
2019-05-28 12:46:07 +01:00
Dominic Gannaway and GitHub
6e1f3963be
[Flare] event component displayName is now mandatory ( #15717 )
2019-05-23 01:29:07 +01:00
Dominic Gannaway and GitHub
7265fe8827
Flare: simplify dispatchEvent discrete argument ( #15694 )
2019-05-21 16:06:17 +01:00
Dominic Gannaway and GitHub
ce7ca99646
Event API: Add responder allowMultipleHostChildren flag ( #15646 )
2019-05-16 19:03:38 +01:00
Dominic Gannaway and GitHub
fc9f6e3e61
Event API: ensure preventDefault works for nested targets ( #15633 )
2019-05-13 13:45:48 +01:00
Dominic Gannaway and GitHub
49ed3e10df
Event API: normalize event timeStamp property to be in event system ( #15598 )
2019-05-09 16:05:25 +01:00
Dominic Gannaway and GitHub
5ec2d02ed8
Experimental Event API: reduce code size of event modules ( #15590 )
2019-05-08 19:09:32 +01:00
Dominic Gannaway and GitHub
fcda38dc4b
Event API: remove isTargetDirectlyWithinEventComponent ( #15546 )
2019-04-30 17:38:48 +01:00
Dominic Gannaway and GitHub
1182935a19
Event API: use capture for all event listeners using experimental responder system ( #15526 )
2019-04-30 11:40:45 +01:00
Dominic Gannaway and GitHub
33eca02efe
Event API: follow up fixes for FocusScope + context changes ( #15496 )
2019-04-25 20:10:33 +01:00
shubham and Christoph Nakazawa
4691a199a1
typo fix ( #15493 )
...
changed ReactResponderContext.dispatchEvent otpions keys to options.
2019-04-25 09:37:35 +01:00
Dominic Gannaway and GitHub
9fe417c482
Event API: Add FocusScope surface ( #15487 )
2019-04-25 02:01:09 +01:00
Dominic Gannaway and GitHub
3835e2a033
Experimental event API: adds context.isTargetDirectlyWithinEventComponent ( #15481 )
2019-04-24 11:02:47 +01:00