Browse Source

Update 2020-08-10-react-v17-rc.md

main
Dan Abramov 5 years ago
committed by GitHub
parent
commit
7d7c3c541f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      content/blog/2020-08-10-react-v17-rc.md

2
content/blog/2020-08-10-react-v17-rc.md

@ -114,7 +114,7 @@ We've kept the breaking changes in React 17 to the minimum. For example, it does
We've made a couple of smaller changes related to the event system:
* The `onScroll` event **no longer bubbles** to prevent [common confusion](https://github.com/facebook/react/issues/15723).
* React `onFocus` and `onBlur` events have switched to using the native `focusin` and `focusout` events under the hood, which more closely match the React's existing behavior and sometimes provide extra information.
* React `onFocus` and `onBlur` events have switched to using the native `focusin` and `focusout` events under the hood, which more closely match React's existing behavior and sometimes provide extra information.
* Capture phase events (e.g. `onClickCapture`) now use real browser capture phase listeners.
These changes align React closer with the browser behavior and improve interoperability.

Loading…
Cancel
Save