Browse Source

Remove redundant "instead" in render-props.html (#712)

main
Chafic Najjar 7 years ago
committed by Dan Abramov
parent
commit
7072a011c6
  1. 2
      content/docs/render-props.md

2
content/docs/render-props.md

@ -209,7 +209,7 @@ class MouseTracker extends React.Component {
} }
``` ```
Now, instead of effectively cloning the `<Mouse>` component and hard-coding something else in its `render` method to solve for a specific use case, we instead provide a `render` prop that `<Mouse>` can use to dynamically determine what it renders. Now, instead of effectively cloning the `<Mouse>` component and hard-coding something else in its `render` method to solve for a specific use case, we provide a `render` prop that `<Mouse>` can use to dynamically determine what it renders.
More concretely, **a render prop is a function prop that a component uses to know what to render.** More concretely, **a render prop is a function prop that a component uses to know what to render.**

Loading…
Cancel
Save