Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 15 additions & 16 deletions src/React.purs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
-- | This module defines foreign types and functions which wrap React's functionality.

module React
( ReactElement
( TagName
, ReactElement
, ReactComponent
, ReactThis
, ReactUnusedSnapshot
, TagName

, SyntheticEventHandler
, Render
, ComponentWillMount
, ComponentDidMount
Expand All @@ -15,19 +15,24 @@ module React
, ShouldComponentUpdate
, ComponentWillUpdate
, ComponentDidUpdate
, GetSnapshotBeforeUpdate
, ComponentWillUnmount

, ReactClass
, ReactRef

, ReactSpecRequired
, ReactSpecUnsafe
, ReactSpecOptional
, ReactSpecShouldComponentUpdate
, ReactSpecAll
, ReactSpecPure
, ReactClassConstructor
, class ReactComponentSpec
, class ReactPureComponentSpec
, component
, componentWithDerivedState
, pureComponent
, pureComponentWithDerivedState
, statelessComponent

, ReactClass
, ReactRef
, getProps
, getState
, setState
Expand All @@ -36,10 +41,10 @@ module React
, writeStateWithCallback
, modifyState
, modifyStateWithCallback

, forceUpdate
, forceUpdateWithCallback

, class ReactPropFields
, ReservedReactPropFields
, createElement
, unsafeCreateElement
, createElementDynamic
Expand All @@ -48,18 +53,12 @@ module React
, unsafeCreateLeafElement
, createElementTagName
, createElementTagNameDynamic

, SyntheticEventHandler

, Children
, childrenToArray
, childrenCount

, class ReactPropFields
, class IsReactElement
, toElement
, fragmentWithKey

, Context
, ContextProvider
, ContextConsumer
Expand Down