Commit Graph

11 Commits

Author SHA1 Message Date
Toru Kobayashi
64d067f2c0 Remove event pooling and SyntheticEvent#persist from documents (#3207)
* remove event pooling and SyntheticEvent#persist from documents

Syntheticevent#event exists in v17, but it does nothing at the version

* add a page for legacy event pooling for _redirects

* add a warning e.persist() is no longer pooled

* Update legacy-event-pooling.md

* docs: update a redirect link for event pooling

* Update legacy-event-pooling.md

* Update legacy-event-pooling.md

* Update reference-events.md

Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
2020-10-23 21:14:24 +01:00
Edgar Muentes
860a510d38 Clarify that synthetic events aren’t exactly the same as native events (#866)
Co-authored-by: Edgar Muentes <Edgar.Muentes@aexp.com>
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
2020-08-23 19:33:54 +02:00
Abel Regalado
be8775d4b9 [docs] Add missing events to docs/events page (#2123)
* [docs] Add missing evens to docs/events page

Added missing `onReset` event to Form Events –– (https://reactjs.org/docs/events.html#form-events)
Created Generic Events subsection, and added `onError` & `onLoad` events –– (https://reactjs.org/docs/events.html#generic-events)

Based on @sophiebits suggestion in following thread:
https://github.com/facebook/react/issues/1718#issuecomment-122622933

* [docs] Add event subsection to #supported-events

Added Generic Events subsection under Supported Events (https://reactjs.org/docs/events.html#supported-events)
2020-03-09 13:58:23 +00:00
Steve Dodier-Lazaro
2c8f5695ba Add reference to persist to SyntheticEvent's API (#2274)
Since persist() is referred to in the doc as a method for disabling event pooling, that must mean it's part of the SyntheticEvent API.

I'm proposing to state it more explicitly so that there's no doubt for newcomers like me whether it is the SyntheticEvent or the actual JS event that has the method.
2020-03-09 13:41:13 +00:00
Nat Alison
25df15b83e reapply, correctly generating links 2019-02-06 18:03:29 -08:00
Nat Alison
dc1e5366e3 revert id adding 2019-02-06 18:00:52 -08:00
Nat Alison
3e49e971d0 add everything else again 2019-02-06 17:22:04 -08:00
Moti Zilberman
e5c3a9e4f0 Pointer events: Document tangentialPressure, twist (#1118)
Added to `SyntheticPointerEvent` in https://github.com/facebook/react/pull/13374
2018-09-08 14:32:58 +01:00
Philipp Spiess
a1f41f65a2 Don’t recommend PEP because it lacks features 2018-05-23 14:28:42 -07:00
Philipp Spiess
988a67739d Add section about Pointer Events
This PR adds a section about the state of Pointer Events in React.

This should be merged only if facebook/react#12507 is accepted as well.
2018-05-23 14:28:30 -07:00
Brian Vaughn
93aa551f1a Reorganized 'docs' folder 2017-10-04 14:48:45 -07:00