1
1
-- | This module defines foreign types and functions which wrap React's functionality.
2
2
3
3
module React
4
- ( ReactElement
4
+ ( TagName
5
+ , ReactElement
5
6
, ReactComponent
6
7
, ReactThis
7
8
, ReactUnusedSnapshot
8
- , TagName
9
-
9
+ , SyntheticEventHandler
10
10
, Render
11
11
, ComponentWillMount
12
12
, ComponentDidMount
@@ -15,19 +15,24 @@ module React
15
15
, ShouldComponentUpdate
16
16
, ComponentWillUpdate
17
17
, ComponentDidUpdate
18
+ , GetSnapshotBeforeUpdate
18
19
, ComponentWillUnmount
19
-
20
- , ReactClass
21
- , ReactRef
22
-
20
+ , ReactSpecRequired
21
+ , ReactSpecUnsafe
22
+ , ReactSpecOptional
23
+ , ReactSpecShouldComponentUpdate
24
+ , ReactSpecAll
25
+ , ReactSpecPure
26
+ , ReactClassConstructor
23
27
, class ReactComponentSpec
24
28
, class ReactPureComponentSpec
25
29
, component
26
30
, componentWithDerivedState
27
31
, pureComponent
28
32
, pureComponentWithDerivedState
29
33
, statelessComponent
30
-
34
+ , ReactClass
35
+ , ReactRef
31
36
, getProps
32
37
, getState
33
38
, setState
@@ -36,10 +41,10 @@ module React
36
41
, writeStateWithCallback
37
42
, modifyState
38
43
, modifyStateWithCallback
39
-
40
44
, forceUpdate
41
45
, forceUpdateWithCallback
42
-
46
+ , class ReactPropFields
47
+ , ReservedReactPropFields
43
48
, createElement
44
49
, unsafeCreateElement
45
50
, createElementDynamic
@@ -48,18 +53,12 @@ module React
48
53
, unsafeCreateLeafElement
49
54
, createElementTagName
50
55
, createElementTagNameDynamic
51
-
52
- , SyntheticEventHandler
53
-
54
56
, Children
55
57
, childrenToArray
56
58
, childrenCount
57
-
58
- , class ReactPropFields
59
59
, class IsReactElement
60
60
, toElement
61
61
, fragmentWithKey
62
-
63
62
, Context
64
63
, ContextProvider
65
64
, ContextConsumer
0 commit comments