MCPcopy Create free account

hub / github.com/bep/gr / types & classes

Types & classes66 in github.com/bep/gr

↓ 1 callersTypeAliascssClasses
modifiers.go:44
InterfaceChildContextProvider
ChildContextProvider provides the context for the children. The GetChildContext function will be called when the state or props changes. In order to
lifecycle.go:66
StructChildren
Children represents a component's child component(s). This is a fairly complex topic in Facebook's React, and more support may arrive here, eventually
this.go:208
StructClickCounter
ClickCounter is a reusable components to use in composition examples. This is just copy-paste from the click counter example. Consider making somethin
examples/helpers.go:80
InterfaceComponent
A Component represents a React JS component. http://facebook.github.io/react/docs/glossary.html#react-nodes for a reference. A Component can be eith
component.go:55
StructComponentConfig
ComponentConfig is used to add optional static configuration to a component.
component.go:124
InterfaceComponentDidMount
ComponentDidMount gets invoked once, only on the client (not on the server), immediately after the initial rendering occurs.
lifecycle.go:106
InterfaceComponentDidUpdate
ComponentDidUpdate gets invoked immediately after the component's updates are flushed to the DOM. This method is not called for the initial render.
lifecycle.go:90
InterfaceComponentWillMount
ComponentWillMount get invoked once, both on the client and server, immediately before the initial rendering occurs.
lifecycle.go:95
InterfaceComponentWillReceiveProps
ComponentWillReceiveProps gets invoked when a component is receiving new props. This method is not called for the initial render.
lifecycle.go:84
InterfaceComponentWillUnmount
ComponentWillUnmount gets invoked immediately before a component is unmounted from the DOM.
lifecycle.go:100
InterfaceComponentWillUpdate
ComponentWillUpdate gets invoked immediately before rendering when new props or state are being received. This is not called for the initial render.
lifecycle.go:78
TypeAliasContext
Context holds the React context.
this.go:138
StructCops
Cops holds COntext, Props and State received in the lifecycle methods. Note that any of these can be nil, depending on the context.
lifecycle.go:39
StructElement
Element represents a builder for a ReactElement. An Element can be a simple text node or a HTML element with children, attributes etc.
element.go:39
StructEvent
Event represents a browser event. See https://developer.mozilla.org/en-US/docs/Web/Events
event.go:24
StructEvent
evt/generate.go:35
StructEventListener
An EventListener can be attached to a HTML element to listen for events, mouse clicks etc.
event.go:56
InterfaceFactory
A Factory is a Component that can construct Elements (analogous to a ReactClass or a ReactFactory).
component.go:60
StructHostInfo
HostInfo represents the location info from the browser window. TODO(bep) get rid of all below.
helpers.go:104
InterfaceLifecycler
Lifecycle interfaces See http://facebook.github.io/react/docs/component-specs.html#lifecycle-methods Lifecycler contains all the lifecycle callback i
lifecycle.go:24
FuncTypeListener
Listener is the signature for the func that needs to be implemented by the listener, e.g. the clickHandler etc.
event.go:80
StructMatcher
Matcher used to find a component in the component tree.
tests/grt/test_helpers.go:91
InterfaceModifier
A Modifier modifies an element, adding attributes, style or child elements etc.
element.go:24
TypeAliasModifiers
Modifiers is used to Modify a list of elements (children).
element.go:85
StructOption
Option is used to configure a component.
component.go:129
TypeAliasProps
Props holds the React properties.
this.go:141
StructReactComponent
ReactComponent wraps a Facebook React component. This component can either be constructed from a Go implementation (see New) or loaded from JavaScript
component.go:68
TypeAliasRefs
Refs holds a reference to component references. See https://facebook.github.io/react/docs/more-about-refs.html
this.go:148
StructRenderedTree
RenderedTree represents a shallow render.
tests/grt/test_helpers.go:72
InterfaceRenderer
Renderer is the core interface used to render a Element.
lifecycle.go:46
InterfaceShouldComponentUpdate
ShouldComponentUpdate gets invoked before rendering when new props or state are being received. This is not called for the initial render or when forc
lifecycle.go:72
TypeAliasState
State holds the React state.
this.go:144
InterfaceStateInitializer
StateInitializer sets up the initial state.
lifecycle.go:51
StructThis
This is named for what it represents: The this context representation from the JavaScript side of the fence.
this.go:29
InterfaceThisSetter
ThisSetter must be implemented by a component if JavaScript's this is needed. The simplest way of doing this is to just embed a This on the component
this.go:40
Structapp
examples/router/main.go:38
StructclickCounter
examples/basic-click-counter/main.go:23
StructclickCounter
examples/router/main.go:67
StructdelegateRenderer
component.go:220
TypeAliasdiscard
modifiers.go:100
TypeAliasdynamicModifier
modifiers.go:124
Structelapser
examples/composition/main.go:27
Structelapser
examples/interop/main.go:32
Structelapser
examples/basic/main.go:27
FuncTypeelementFactory
func(e *Element) *js.Object
element.go:28
Structgist
examples/ajax/main.go:24
Structincrementer
component.go:570
Structlifecycle
examples/lifecycle/main.go:44
StructmouseTracker
examples/debounce/main.go:21
Structprop
modifiers.go:64
StructreactClass
component.go:199
StructsimpleRenderer
component.go:183
Structstyle
modifiers.go:95
StructtestChildWithContext
tests/component_test.go:318
StructtestClickableButtons
tests/this_test.go:157
StructtestCompositeComponent
tests/component_test.go:274
StructtestCustomComponent
tests/component_test.go:266
StructtestLifecycler
tests/component_test.go:329
StructtestParentWithContext
tests/component_test.go:304
StructtestTwoButtons
tests/component_test.go:422
StructtextEl
modifiers.go:24
StructthisCompChildren
tests/this_test.go:149
StructthisCompEmbed
tests/this_test.go:123
StructthisCompNamed
tests/this_test.go:140
StructuserGists
examples/ajax/main.go:32