v8.11.1
Changed
-
Conditions Modify object atom prop to allow developers to pass extra
parameters to the render function. Now instead of passing afunctionto the
object prop you need to pass anobjectwith the following structure:const options = { ... verbs: [ { ... object: { renderFn: foo, extraParams: { a: 1, b: 2, ... } } }, ] }
The extraParams property will be available in your render function as a
parameter like the example below:foo = ({ statements, values, statementIndex, error, extraParams }) => { // here goes the render logic of you object component }