Widget pre-rendering allows you to provide meaningful initial state for widgets before they are synced when the app runs for the first time.
Add initialStatePath to your widget configuration in app.json:
Create a file at the specified initialStatePath that exports a WidgetVariants object:
During build time, Voltra transpiles your widget files with Babel and executes them in a Node.js environment to generate initial states that are bundled into the iOS app.
voltra/client or voltra/server imports; use voltra instead