In this PR, we introduce a cell state manager that:
Stores each cell and code inside of JS; and,
Allows for consistent execution of output and setup code cells with values in packages.
Implementation status: In progress
Q: Why are there so many instances of globalThis.* =?
A: We're trying to avoid needing to register standalone HTML dependencies like a JavaScript file. Thus, we have multiple "module" files setup in <script type="module"> JS HERE </script>.
If we registered a JS file, this would require us to be able to have the JS persist to the publish phase. In this case, we could then do:
In this PR, we introduce a cell state manager that:
output
andsetup
code cells with values inpackages
.Implementation status: In progress
Q: Why are there so many instances of
globalThis.* =
?A: We're trying to avoid needing to register standalone HTML dependencies like a JavaScript file. Thus, we have multiple "module" files setup in
<script type="module"> JS HERE </script>
.If we registered a JS file, this would require us to be able to have the JS persist to the publish phase. In this case, we could then do:
Once resolved, this should address:
Close #114, Close #105, Close #88