Stages Demos:

[ Note: Stages comes without styles, you have to bring your own! ]

Interface State

In this demo, we declare the summary as interface state, so that it doesn't show up in the exposed data. You can check this by opening the debugger and inspect the data. For a comparison, in the "Dynamic Values" demo, we didn't set this field as interface state, so it shows up in the data as you can check in the debugger.


path: field1 | type: number
path: field2 | type: number
path: sum | type: number

Another good use for interface state is something like advanced options. Here the "checkbox" to open the advanced options is interface state and not exposed in the data. You can access it in the render prop with "fieldProps.interfaceState.advanced".

path: advanced | type: checkbox

Again check the data in the debugger. Only the "advancedoption" data is exposed, not the checkbox.



- - -
(c) 2023 by Fredi Bach : Unic : Github