No more Refs, no more store, every top level def goes in the store, to update store values use :=

This commit is contained in:
Dustin Swan 2026-02-06 18:06:01 -07:00
parent 31ef279f16
commit 70569dfe48
No known key found for this signature in database
GPG key ID: 30D46587E2100467
9 changed files with 58 additions and 74 deletions

View file

@ -45,7 +45,7 @@ try {
const update = appRecord.fields.update;
const view = appRecord.fields.view;
runApp({ init, update, view }, canvas, cgCode);
runApp({ init, update, view }, canvas, cgCode, env);
} catch(error) {
console.log('CAUGHT ERROR:', error);
console.log('Is CGError??', error instanceof CGError);