Repository navigation
Couple friction points I have had with Perspective 3 early lifecycle tasks in the browser #2982
Replies: 1 comment 2 replies
Don't re-evaluate JavaScript modules. It is CPU expensive at runtime, wastes memory, and will functionally break any library that has state. The only way a JavaScript module even can be evaluated more than once, is if you've misconfigured your bundler or intentionally re-loaded the module dynamically. Either way, this is an issue with your application architecture, not Perspective.
No, you have misconfigured your bundler. Bundler docs and similar question previously.
To re-iterate what I told you at Prospective Office Hours last week: the tenor of your questions indicate some systemic design issues with your application overall. If you cannot share your implementation or a repro with us, you're not going to get much help here. |

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Putting this out as a discussion to correct my understanding, or see if these may potentially be issues worth addressing.
<perspective-viewer>already present in the DOM, even if that viewer won't be used to load said table. Usually, I don't need a viewer until I already have a table to render, so right now I must create a dummy viewer just to satisfy that requirement. Is there a "headless" way to accomplish table creation?All reactions