myitcv.io: myitcv.io/react/examples/immtodoapp Index | Files

package immtodoapp

import "myitcv.io/react/examples/immtodoapp"

Index

Package Files

entry.go gen_Entry_reactGen.go gen_TodoApp_reactGen.go gen_todo_app_immutableGen.go todo_app.go

type EntryDef Uses

type EntryDef struct {
    react.ComponentDef
}

func (EntryDef) Props Uses

func (e EntryDef) Props() EntryProps

Props is an auto-generated proxy to the current props of Entry

func (EntryDef) Render Uses

func (e EntryDef) Render() *react.LiElem

func (EntryDef) RendersElement Uses

func (e EntryDef) RendersElement() react.Element

func (EntryDef) RendersLi Uses

func (e EntryDef) RendersLi(*react.LiElem)

type EntryElem Uses

type EntryElem struct {
    react.Element
}

func Entry Uses

func Entry(s string) *EntryElem

func (*EntryElem) RendersLi Uses

func (e *EntryElem) RendersLi(*react.LiElem)

type EntryProps Uses

type EntryProps struct {
    Text string
}

func (EntryProps) EqualsIntf Uses

func (e EntryProps) EqualsIntf(val react.Props) bool

func (EntryProps) IsProps Uses

func (e EntryProps) IsProps()

IsProps is an auto-generated definition so that EntryProps implements the myitcv.io/react.Props interface.

type TodoAppDef Uses

type TodoAppDef struct {
    react.ComponentDef
}

TodoAppDef is the definition fo the TodoApp component

func (TodoAppDef) GetInitialState Uses

func (t TodoAppDef) GetInitialState() TodoAppState

func (TodoAppDef) GetInitialStateIntf Uses

func (t TodoAppDef) GetInitialStateIntf() react.State

GetInitialStateIntf is an auto-generated proxy to GetInitialState

func (TodoAppDef) Render Uses

func (t TodoAppDef) Render() react.Element

Render renders the TodoApp component

func (TodoAppDef) RendersElement Uses

func (t TodoAppDef) RendersElement() react.Element

func (TodoAppDef) SetState Uses

func (t TodoAppDef) SetState(state TodoAppState)

SetState is an auto-generated proxy proxy to update the state for the TodoApp component. SetState does not immediately mutate t.State() but creates a pending state transition.

func (TodoAppDef) State Uses

func (t TodoAppDef) State() TodoAppState

State is an auto-generated proxy to return the current state in use for the render of the TodoApp component

type TodoAppElem Uses

type TodoAppElem struct {
    react.Element
}

func TodoApp Uses

func TodoApp() *TodoAppElem

TodoApp creates instances of the TodoApp component

type TodoAppState Uses

type TodoAppState struct {
    // contains filtered or unexported fields
}

TodoAppState is the state type for the TodoApp component

func (TodoAppState) EqualsIntf Uses

func (t TodoAppState) EqualsIntf(val react.State) bool

func (TodoAppState) IsState Uses

func (t TodoAppState) IsState()

IsState is an auto-generated definition so that TodoAppState implements the myitcv.io/react.State interface.

Package immtodoapp imports 4 packages (graph) and is imported by 3 packages. Updated 2019-07-15. Refresh now. Tools for package owners.