@samitouri / QOS-React / commits / 41b4d3958c

docs: delete unnecessary brackets

yuntao.qyt committed Nov 13, 2016 at 16:29 UTC 41b4d3958c4e9b229ddc875fcaa67fe7bdeec3d2
1 file changed +1 -1
docs/docs/web-components.md
+1 -1
@@ -21,7 +21,7 @@ class HelloMessage extends React.Component {
21
22 > Note:
23 >
24 -> 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.
24 +> 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.
25 >
26 > Events emitted by a Web Component may not properly propagate through a React render tree.
27 > You will need to manually attach event handlers to handle these events within your React components.