react-event-pooling
react-event-pooling
事件池
https://codesandbox.io/s/3xp4y9zp7q
https://reactjs.org/docs/events.html#event-pooling
https://reactjs.org/docs/glossary.html#controlled-vs-uncontrolled-components
https://reactjs.org/docs/handling-events.html#___gatsby
https://reactjs.org/docs/react-without-es6.html#autobinding
event bus / event emitter
https://repl.it/languages/javascript
https://repl.it/@xgqfrms/Event-Bus
https://repl.it/@xgqfrms/EventEmitter-class
本文首发于博客园,作者:xgqfrms,原文链接:https://www.cnblogs.com/xgqfrms/p/10136828.html
未经授权禁止转载,违者必究!