Michael Mrowetz
Michael Mrowetz
Depending on your use case/setup you could solve this by having a `tsconfig.json` in the project root and leverage [path-mapping](https://www.typescriptlang.org/docs/handbook/module-resolution.html#path-mapping) to resolve the apps entry points (Remote Name + Exposed...
Thanks @maraisr , that is a very good point I had not considered. I suppose then it is a trade-off of manual remote interface vs potential manual MF path-mapping overwrites.
Sounds good tduard - we were already discussing this before. We just couldn't decide whether we should display the gradient as a single colour or separating the stops out into...
This seems to be fixed: [Demo](https://mitosis.builder.io/?outputTab=E4UwhgxgLkA%3D&code=JYWwDg9gTgLgBAbzgVwM4FMDKMCGN1wC%2BcAZlBCHAEQACARssADYAm6UAdMBAPQjAwIqYKioBuAFAT0AD0iw4bEjmRN4JZADsAxjG6a4AWQCeAYQqRN6TTAAUYcmFQBKRBLhxtETangBtTRwQdAAaOAwYADkg9ABdOABeFAxsPHRbKmx0ADd0KmdJdzgodBhkKANbIo8AHhZgbIA%2Bao84GuBNMGQYFtbPVFQEhARevs8IJmgALmoSlioQ0b761DAmHGMZqhImWQWl1pwmYABzTQBJfBBULe1rfCgqA8JCA%2Byj5HQhwODXsdbvKYABY4TQnL4IWw5e6uBKNcKlaLBKG5GwcXBQcEwDjvJifZx%2FMY8Zr%2FAAS6CYkwAhHBzp5QcUtHAOnAAEroHC6MIANU%2BYUwE2ALDC0DgABlgABHRgsKktGo8epNIoFCSEIA%3D)
Perhaps we could use [node-jsdom](https://www.npmjs.com/package/node-jsdom) or so to be able to re-use a good bit of the code I've written so far.
I'd recommend to spend a bit more time on the FE-only version for now to harden it a bit more, so we don't need to worry about 2 versions. Though...
Good idea, I'm not sure if it'll work well, but perhaps via canvas. Will give it a try.
I tested using [`dom-to-image`](https://www.npmjs.com/package/dom-to-image) but it's a bit messy, since PerfCascade's svg is nested and contains embedded HTML that would need to be cloned separately, and `dom-to-image` requires all css...
I think we can solve that with a bit experimenting. What about adding a `min-width` option? Alternatively (or adaptively) we could automatically increase the legend/graph-ration if the screen with is...
`mousemove` is always a bit performance sensitive, so we should only setup eventListener for `mousemove` event when external hook is present. should should have signature like: `(hoverPositionMs: number, OriginalEvt: MouseEvent)...