Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClickCounter ¶
ClickCounter is a reusable components to use in composition examples. This is just copy-paste from the click counter example. Consider making something else.
func (ClickCounter) ComponentDidMount ¶
func (c ClickCounter) ComponentDidMount()
ComponentDidMount implements the ComponentDidMount interface.
func (ClickCounter) GetInitialState ¶
func (c ClickCounter) GetInitialState() gr.State
GetInitialState implements the StateInitializer interface.
func (ClickCounter) Render ¶
func (c ClickCounter) Render() gr.Component
Render implements the Renderer interface.
func (ClickCounter) ShouldComponentUpdate ¶
ShouldComponentUpdate implements the ShouldComponentUpdate interface.
Click to show internal directories.
Click to hide internal directories.