| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Glazier.React.Event.Synthetic
Description
This module based on ReactFluxPropertiesAndEvents.hs.
Synopsis
- data SyntheticEvent = SyntheticEvent {}
- toSyntheticEvent :: Notice -> SyntheticEvent
Documentation
data SyntheticEvent Source #
Every Notice can be parsed to an SyntheticEvent.
SyntheticEvent must only be used in the first part of handleEvent.
Constructors
| SyntheticEvent | |
Fields
| |
Instances
toSyntheticEvent :: Notice -> SyntheticEvent Source #
We can lie about this not being in IO because
within the strict part of handleEventM
the Notice is effectively immutable.