Commit Graph

28 Commits

Author SHA1 Message Date
Romain Bohdanowicz
fb65da64ac docs: class properties and object spread are no longer experimental (#4754)
Co-authored-by: Romain Bohdanowicz <romain.bohdanowicz@formation.tech>
2022-06-20 20:38:39 +02:00
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
Andrew Beaven
df7fbff422 Remove superfluous code in faq-functions.md example (#3293)
The sections above this describe how to use the arrow function to bind functions to the component instance to avoid explicit binding in the constructor. This example though, uses both the arrow function and explicitly binds the function. I realise the point of this particular example isn't to describe the binding process, but considering the sections that immediately proceed it, I think it'd be good to avoid confusion here.
2020-09-30 12:25:58 -07:00
Alex Krolick
c8703314dd update faq on perf with function props (#1994) 2019-05-13 22:46:23 -07:00
Alexey Pyltsyn
1a625b7b69 Merge branch 'master' into httpsify 2019-02-22 00:12:48 +03:00
Michał Gołębiowski-Owczarek
7e4ac52af4 HTTPS-ify most insecure URLs in content/docs (& one in Acknowledgments)
This is a followup to #1157
2019-02-07 14:45:03 +01: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
David DeAngelis
cb0870514b Update faq-functions.md
found a small syntax error in example
2018-01-17 15:17:56 -05:00
Brian Vaughn
81b3049532 Small wording tweaks 2017-11-21 14:40:25 -08:00
Alex Reardon
d4630485a0 Moving to new raf-schd cancel syntax. Cleaning up language 2017-11-22 09:26:40 +11:00
Alex Reardon
1bef49c72f Adding information about requestAnimationFrame to rate limiting section. Closes #312 2017-11-21 13:43:50 +11:00
Dan Abramov
d73bb5d287 Minor tweaks 2017-11-20 22:36:54 +00:00
Dan Abramov
c3b103dcb6 Minor fix 2017-11-20 22:18:07 +00:00
Dan Abramov
986d97788c Minor FAQ updates (#308)
* Don't use experimental syntax unless necessary

* Edit another page

* Update another page

* Unrelated bikeshed on virtual DOM

* Please, no *.jsx, we don't recommend it

* Update faq-structure.md

* Minor updates

* Update faq-ajax.md

* Update faq-functions.md

* Add binding explanation
2017-11-20 22:05:00 +00:00
Brian Vaughn
0ba8920310 Added some additional wording 2017-11-20 13:03:33 -08:00
Alex
78c285f86b Inline event.persist explanation 2017-11-20 11:27:54 -08:00
Alex
95c03c0fc8 Add links to event pooling docs 2017-11-20 11:17:58 -08:00
Alex
c17b54a121 Update debounce/throttle examples 2017-11-20 11:10:50 -08:00
Alex Krolick
44e5f6a1dd Add debounce and throttle examples for event handlers 2017-11-19 21:03:06 -08:00
Brian Vaughn
2b4b34ac0f Corrected my own typo :) 2017-11-13 08:16:58 -08:00
Brian Vaughn
996508d16f Formatted inline "Notes" 2017-11-13 08:11:22 -08:00
Alex Krolick
d7beebb65a make sure param-passing example uses keys realistically 2017-11-12 20:05:27 -08:00
Alex Krolick
3a029d59e8 Add note about performance implications of .bind in render 2017-11-12 20:04:55 -08:00
Alex Krolick
bac965ed83 add example using data-attributes for event handler data 2017-11-12 19:25:43 -08:00
Alex Krolick
0143515ed5 fix typos 2017-11-12 19:25:43 -08:00
Alex Krolick
e9b132a280 Add FAQ pages 2017-11-12 19:25:43 -08:00