Skip to content

Commit 9617aa8

Browse files
committed
Remove domain from links
1 parent 30ea17e commit 9617aa8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

content/blog/2017-11-28-react-v16.2.0-fragment-support.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ render() {
5050
}
5151
```
5252

53-
To address this limitation, React 16.0 added support for [returning an array of elements from a component's `render` method](https://reactjs.org/blog/2017/09/26/react-v16.0.html#new-render-return-types-fragments-and-strings). Instead of wrapping the children in a DOM element, you can put them into an array:
53+
To address this limitation, React 16.0 added support for [returning an array of elements from a component's `render` method](/blog/2017/09/26/react-v16.0.html#new-render-return-types-fragments-and-strings). Instead of wrapping the children in a DOM element, you can put them into an array:
5454

5555
```jsx
5656
render() {
@@ -67,7 +67,7 @@ render() {
6767
However, this has some confusing differences from normal JSX:
6868

6969
- Children in an array must be separated by commas.
70-
- Children in an array must have a key to prevent React's [key warning](https://reactjs.org/docs/lists-and-keys.html#keys).
70+
- Children in an array must have a key to prevent React's [key warning](/docs/lists-and-keys.html#keys).
7171
- Strings must be wrapped in quotes.
7272

7373
To provide a more consistent authoring experience for fragments, React now provides a first-class `Fragment` component that can be used in place of arrays.

content/warnings/unknown-prop.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ The unknown-prop warning will fire if you attempt to render a DOM element with a
77

88
There are a couple of likely reasons this warning could be appearing:
99

10-
1. Are you using `{...this.props}` or `cloneElement(element, this.props)`? Your component is transferring its own props directly to a child element (eg. https://reactjs.org/docs/transferring-props.html). When transferring props to a child component, you should ensure that you are not accidentally forwarding props that were intended to be interpreted by the parent component.
10+
1. Are you using `{...this.props}` or `cloneElement(element, this.props)`? Your component is transferring its own props directly to a child element (eg. [transferring props](/docs/transferring-props.html)). When transferring props to a child component, you should ensure that you are not accidentally forwarding props that were intended to be interpreted by the parent component.
1111

1212
2. You are using a non-standard DOM attribute on a native DOM node, perhaps to represent custom data. If you are trying to attach custom data to a standard DOM element, consider using a custom data attribute as described [on MDN](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Using_data_attributes).
1313

0 commit comments

Comments
 (0)