Replies: 1 comment 2 replies
-
|
You can use a block statement: {
const data = …;
}You can also just reuse variable names across cells. They don’t have to be unique in order to declare them; they only need to be unique when you reference them. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The System guide says
Which is very convenient in one way, but also inconvenient. I tend to use names like
datamany times and having to use unique names is slowing me down. Is there a way to make cells isolated and only expose a specific binding? I could wrap every cell inconst someName = (() => { ... }()), but that is not very ergonomic. I think most of the time I want cells to be isolated with only specific exports.Beta Was this translation helpful? Give feedback.
All reactions