components library

Classes

CComponent<P, S, C>
ContextSetter<C>
HashHistory
HashHistory is an implementation of History that uses hash routing
History
History is an api for reading and interacting with your applications url. It uses pushState to update the url.
HistoryProvider
HistoryProvider creates an instance of History and adds it to context. This component should only be used once per app and should exist at the top of the component tree.
NCComponent<C>
NComponent
PCComponent<P, C>
PComponent<P>
Perf
Pure
PureComponent<P, S>
PurePComponent<P>
PureSComponent<S>
PushHistory
PushHistory is an implementation of History that uses push routing
Route
Route defines a path and a componentFactory that can be used by the Router to render the result of a given Route's componentFactory when the current url's path matches the Route's path.
Router
Router is a component that will render the result of a given Route's componentFactory when the current url's path matches the Route's path.
SCComponent<S, C>
SComponent<S>
UpdateBlocker
UpdateDebugger

Constants

historyContextKey → const String
'historyContextKey'

Functions

findHistoryInContext(Map<String, dynamic> context) History
findHistoryInContext finds the History instance that gets added to context by a HistoryProvider

Typedefs

RouteVNodeFactory(Map<String, String> params) VNode
RouteVNodeFactory is a factory that returns a given component that pairs to a given path. The factory functions is called with params, which is a map of variables found in the path. [...]