react 中提示This synthetic event is reused for performance reasons. If you're seeing this, you're accessing the property `target` on a released/nullified synthetic event. This is set to null. If you must


出於性能原因,將重用此合成事件。如果您看到這一點,那么您正在訪問已釋放/取消的合成事件的屬性“target”。設置為空。如果必須保留原始合成事件,請使用event.persist()。有關更多信息,請參見https://fb.me/react-event-pooling

 

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM