Reapply "More aggressive using of cache on engine settings changes" (#4736)

* Reapply "More aggressive using of cache on engine settings changes (#4691)" (#4729)

This reverts commit 3f1f40eeba.

* Add a utility to get all the current values from the settings object

* Use an XState selector to get the latest settings snapshot for WASM

---------

Co-authored-by: Frank Noirot <frank@kittycad.io>
This commit is contained in:
Jess Frazelle
2024-12-10 18:50:22 -08:00
committed by GitHub
parent 53d40301dc
commit 3049f405f5
36 changed files with 976 additions and 625 deletions

View File

@ -112,9 +112,6 @@ export async function executor(
makeDefaultPlanes: () => {
return new Promise((resolve) => resolve(defaultPlanes))
},
modifyGrid: (hidden: boolean) => {
return new Promise((resolve) => resolve())
},
})
return new Promise((resolve) => {