Closed littldr closed 4 years ago
Cause events are transmitted immediately after emit, we need to do this after the stack was initialized.
Is it a problem to render multiple times as we add components to the stack?
Cause events are transmitted immediately after emit, we need to do this after the stack was initialized.
Is it a problem to render multiple times as we add components to the stack?
Idk. currently it seems to 'work'... If the Stack gets huge, maybe this can be a problem. But if we really use ink
, it will throttle the output per default.
To be able to draw a fancy visualisation, we need to know how many components were added to the stack (before doing anything). Cause events are transmitted immediately after emit, we need to do this after the stack was initialized.
Any better idea how we could handle this?