Skip to content

Commit a15b252

Browse files
author
Brian Vaughn
committed
Merge branch 'master' into integrate-crowdin
2 parents 8fb1b0d + 0201237 commit a15b252

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

content/blog/2015-12-16-ismounted-antipattern.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ If you use ES6 promises, you may need to wrap your promise in order to make it c
4343

4444
```js
4545
const cancelablePromise = makeCancelable(
46-
new Promise(r => component.setState({...}}))
46+
new Promise(r => component.setState({...}))
4747
);
4848

4949
cancelablePromise

content/community/conferences.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,11 @@ October 5 in Verona, Italy
7171

7272
[Website](http://2018.reactjsday.it) - [Twitter](https://twitter.com/reactjsday)
7373

74+
### React Day Berlin 2018
75+
November 30, Berlin, Germany
76+
77+
[Website](https://reactday.berlin) - [Twitter](https://twitter.com/reactdayberlin) - [Facebook](https://www.facebook.com/reactdayberlin/) - [Videos](https://www.youtube.com/channel/UC1EYHmQYBUJjkmL6OtK4rlw)
78+
7479
## Past Conferences
7580

7681
### React.js Conf 2015
@@ -220,7 +225,7 @@ November 4 in Seoul, South Korea
220225

221226
[Website](http://seoul.reactjs.kr/en)
222227

223-
### React Day Berlin
228+
### React Day Berlin 2017
224229
December 2, Berlin, Germany
225230

226231
[Website](https://reactday.berlin) - [Twitter](https://twitter.com/reactdayberlin) - [Facebook](https://www.facebook.com/reactdayberlin/) - [Videos](https://www.youtube.com/watch?v=UnNLJvHKfSY&list=PL-3BrJ5CiIx5GoXci54-VsrO6GwLhSHEK)

content/docs/reference-glossary.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ Don't pass something like `Math.random()` to keys. It is important that keys hav
150150

151151
## [Refs](/docs/refs-and-the-dom.html)
152152

153-
React supports a special attribute that you can attach to any component. The `ref` attribute can be a string or a callback function. When the `ref` attribute is a callback function, the function receives the underlying DOM element or class instance (depending on the type of element) as its argument. This allows you to have direct access to the DOM element or component instance.
153+
React supports a special attribute that you can attach to any component. The `ref` attribute can be an object created by [`React.createRef()` function](/docs/react-api.html#reactcreateref) or a callback function, or a string (in legacy API). When the `ref` attribute is a callback function, the function receives the underlying DOM element or class instance (depending on the type of element) as its argument. This allows you to have direct access to the DOM element or component instance.
154154

155155
Use refs sparingly. If you find yourself often using refs to "make things happen" in your app, consider getting more familiar with [top-down data flow](/docs/lifting-state-up.html).
156156

0 commit comments

Comments
 (0)