Commit d9a4fa4
committed
Replace createClass with external react-create-class dependency
Warns when using React.createClass for the first time.
Usages of createClass in tests have been converted to plain JavaScript
classes. Tests that rely on replaceState or isMounted use
updater.enqueueReplaceState and updater.isMounted.1 parent 60a7955 commit d9a4fa4
32 files changed
Lines changed: 628 additions & 3732 deletions
File tree
- mocks
- src
- addons
- __tests__
- link/__tests__
- transitions/__tests__
- isomorphic/classic
- __tests__
- class
- __tests__
- element/__tests__
- renderers
- dom
- client
- __tests__
- eventPlugins/__tests__
- server/__tests__
- test/__tests__
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
| 16 | + | |
| 17 | + | |
18 | 18 | | |
19 | | - | |
20 | | - | |
| 19 | + | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
| 16 | + | |
| 17 | + | |
20 | 18 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
| 19 | + | |
26 | 20 | | |
27 | | - | |
| 21 | + | |
28 | 22 | | |
29 | | - | |
| 23 | + | |
30 | 24 | | |
31 | | - | |
| 25 | + | |
32 | 26 | | |
33 | | - | |
| 27 | + | |
| 28 | + | |
34 | 29 | | |
35 | 30 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
| |||
Lines changed: 0 additions & 145 deletions
This file was deleted.
This file was deleted.
0 commit comments