mirror of
https://github.com/facebook/react.git
synced 2026-02-23 20:23:02 +00:00
docs: delete unnecessary brackets
This commit is contained in:
@@ -21,7 +21,7 @@ class HelloMessage extends React.Component {
|
||||
|
||||
> Note:
|
||||
>
|
||||
> Web Components often expose an imperative API. For instance, a `video` Web Component might expose `play()` and `pause()` functions). To access the imperative APIs of a Web Component, you will need to use a ref to interact with the DOM node directly. If you are using third-party Web Components, the best solution is to write a React component that behaves as a wrapper for your Web Component.
|
||||
> Web Components often expose an imperative API. For instance, a `video` Web Component might expose `play()` and `pause()` functions. To access the imperative APIs of a Web Component, you will need to use a ref to interact with the DOM node directly. If you are using third-party Web Components, the best solution is to write a React component that behaves as a wrapper for your Web Component.
|
||||
>
|
||||
> Events emitted by a Web Component may not properly propagate through a React render tree.
|
||||
> You will need to manually attach event handlers to handle these events within your React components.
|
||||
|
||||
Reference in New Issue
Block a user