Module
Grain
- Package
- purescript-grain
- Repository
- purescript-grain/purescript-grain
Re-exports from Grain.Class.GProxy
#GlobalGrain Source
class GlobalGrain a
Representation of a partial state of application state.
You can use this to define global state.
TypeRef
is used as state key internally for uniqueness.
Re-exports from Grain.Class.KGProxy
#KeyedGlobalGrain Source
class KeyedGlobalGrain a
Representation of a partial state of application state.
You can use this to define global state with key for dynamic items.
TypeRef
is used as state key internally for uniqueness.
Re-exports from Grain.Class.LProxy
#LocalGrain Source
class LocalGrain a
Representation of a component-local state.
TypeRef
is used as state key internally for uniqueness.
Re-exports from Grain.TypeRef
#fromConstructor Source
fromConstructor :: forall a. a -> TypeRef
Create a TypeRef
.
Treat a constructor function as reference of type.
Re-exports from Grain.UI
#useUpdater Source
useUpdater :: forall a p. Grain p a => p a -> Render ((a -> a) -> Effect Unit)
Get an updater of a state.
- Modules
- Grain
- Grain.
Class - Grain.
Class. GProxy - Grain.
Class. KGProxy - Grain.
Class. LProxy - Grain.
Emitter - Grain.
Markup - Grain.
Markup. Element - Grain.
Markup. Handler - Grain.
Markup. Prop - Grain.
Store - Grain.
Styler - Grain.
TypeKeyRef - Grain.
TypeRef - Grain.
UI - Grain.
UI. Diff - Grain.
UI. Element - Grain.
UI. Handler - Grain.
UI. Prop - Grain.
UI. Util