Commit b90b322
committed
Support react v0.14
Adds minimal support for react 0.14 without affecting 0.13 users.
React 0.14 removes React.initializeTouchEvents as it's no longer
needed.
_isReactElement was removed and replaced with the $$typeof field which
contains an ES6 symbol if supported or a number.
Warnings are visible for 0.14 which can be stopped by using ReactDOM for
render and findDOMNode etc.
https://facebook.github.io/react/blog/2015/10/07/react-v0.14.html#breaking-changes
facebook/react#48321 parent 7b901e4 commit b90b322
2 files changed
+15
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
24 | 32 | | |
25 | 33 | | |
26 | 34 | | |
| |||
358 | 366 | | |
359 | 367 | | |
360 | 368 | | |
361 | | - | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
362 | 372 | | |
363 | 373 | | |
364 | 374 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
412 | 412 | | |
413 | 413 | | |
414 | 414 | | |
415 | | - | |
| 415 | + | |
| 416 | + | |
416 | 417 | | |
417 | 418 | | |
418 | 419 | | |
| |||
434 | 435 | | |
435 | 436 | | |
436 | 437 | | |
437 | | - | |
| 438 | + | |
| 439 | + | |
438 | 440 | | |
439 | 441 | | |
440 | 442 | | |
| |||
0 commit comments