Skip to content

v1.3.0

Compare
Choose a tag to compare
@azjgard azjgard released this 01 Feb 20:51
· 12 commits to main since this release
289cc24

Feature Additions

Usage of the variables property to interpolate values in text is now supported even when the Ditto source data doesn't contain Ditto variables associated with a given piece of text; this enables ditto-react users to pull Ditto data in the flat format without losing variable support.

Previously, interpolation would only take place if a given Ditto component / text item contained variables corresponding to the keys passed in the variables property.

Example

Given this application code:
image

And this Ditto source data:
image

This is the result:
image