Resolves jsonx.__dangerouslyInsertComponents into an object that turns each value into a React components. This is typically used in a library like Recharts where you pass custom components for chart ticks or plot points.
resolved object of React Components
Returns computed properties for React Components and any property that's prefixed with __ is a computedProperty
Valid JSONX JSON
number used for React key prop
Used to evalute javascript and set those variables as props. getEvalProps evaluates __dangerouslyEvalProps and __dangerouslyBindEvalProps properties with eval, this is used when component properties are functions, __dangerouslyBindEvalProps is used when those functions require that this is bound to the function. For __dangerouslyBindEvalProps it must resolve an expression, so functions should be wrapped in (). I.e. (function f(x){ return this.minimum+x;})
returns resolved object with evaluated javascript
Takes a function string and returns a function on either this.props or window. The function can only be 2 levels deep
returns a function from this.props or window functions
Returns a resolved object from function strings that has functions pulled from jsonx.__functionProps
Valid JSONX JSON
resolved object of functions from function strings
It uses traverse on a traverseObject to returns a resolved object on propName. So if you're making an ajax call and want to pass properties into a component, you can assign them using asyncprops and reference object properties by an array of property paths
resolved object
returns the names of parameters from a function declaration
Resolves jsonx.__dangerouslyInsertReactComponents into an object that turns each value into a React components. This is typically used in a library like Recharts where you pass custom components for chart ticks or plot points.
Valid JSONX JSON // * @param {Object} [options.resources={}] - object to use for asyncprops, usually a result of an asynchronous call
resolved object of React Components
Used to create components from jsonx as props
Returns a resolved object that has React Components pulled from window.__jsonx_custom_elements
Valid JSONX JSON
resolved object of with React Components from a window property window.__jsonx_custom_elements
returns children jsonx components defined on spreadComponent spread over an array on props.spread