Home Manual Reference Source Test

References

summary
public

returns a valid rjx.children property

public

Used to pass properties down to child components if passprops is set to true

public

F getRJXChildren(options: *)

returns React Child Elements via RJX

public

F getBoundedComponents(options: Object, boundedComponents: string[]): Object

getBoundedComponents returns reactComponents with certain elements that have this bounded to select components in the boundedComponents list

public

returns a react component from a component library

public

F getComponentFromMap(options: Object): string | function | class

returns a react element from rjx.component

public

Returns a new function from an options object

public

F getReactClassComponent(reactComponent: Object): Function

Returns a new React Component

public

if (recharts[rjx.component.replace('recharts.', '')]) { return recharts[rjx.component.replace('recharts.', '')]; }

public

F getReactFunctionComponent(reactComponent: *, functionBody: String): Function

Returns new React Function Component

private

F __express(filePath: string, options: object, callback: *)

Use RJX for express view rendering

private

Exposes react module used in RJX

private

Exposes react dom module used in RJX

private

Exposes global hook used in RJX

public

F compile(rjx: Object, resources: Object): function

converts a rjx json object into a react function component

public

converts a json object {type,props,children} into a react element

public

F getRenderedJSON(rjx: object, resources: object): function

Use React.createElement and RJX JSON to create React elements

public

Use ReactDOMServer.renderToString to render html from RJX

public

F rjxRender(config: object)

Use RJX without any configuration to render RJX JSON to HTML and insert RJX into querySelector using ReactDOM.render

public

F getChildrenComponents(options: *)

returns children rjx components defined on spreadComponent spread over an array on props.spread

public

Resolves rjx.__dangerouslyInsertComponents into an object that turns each value into a React components.

public

F getComputedProps(options: Object)

Returns computed properties for React Components and any property that's prefixed with __ is a computedProperty

public

F getEvalProps(options: Object): Object

Used to evalute javascript and set those variables as props.

public

Takes a function string and returns a function on either this.props or window.

public

Returns a resolved object from function strings that has functions pulled from rjx.__functionProps

public

returns the names of parameters from a function declaration

public

F getRJXProps(traverseObject: Object, options: Object): Object

It uses traverse on a traverseObject to returns a resolved object on propName.

public

Resolves rjx.__dangerouslyInsertReactComponents into an object that turns each value into a React components.

public

Returns a resolved object that has React Components pulled from window.__rjx_custom_elements

public

Used to evaluate whether or not to render a component

public

Use to test if can bind components this context for react-redux-router

public

Transforms Valid RJX JSON to SimpleRJX {component,props,children} => {[component]:{props,children}}

public

F simpleRJXSyntax(simpleRJX: Object): Object

Transforms SimpleRJX to Valid RJX JSON {[component]:{props,children}} => {component,props,children}

public

F traverse(paths: Object, data: Object): Object

take an object of array paths to traverse and resolve

public

validates simple RJX Syntax {[component]:{props,children}}

public

F validateRJX(rjx: Object, returnAllErrors: Boolean): Boolean | Error[]

Validates RJX JSON Syntax

public
public

object of all react components available for RJX

private
private
private
private
public
public
public