Bnaya Peretz
Bnaya Peretz
Github just took away the long commnet i was writting. So i will write short, and i can elaborte Mst and graphql are somewhat opposites Mst is normalized data while...
failed attempt # 1: ```ts function partialModelCreator(properties: P) { return function createModel(name: string, fields?: PRT[]) { if (!fields) { return types.model(name, properties); } const localProps: Pick = Object.fromEntries( Object.entries(properties).filter(e =>...
Attempt # 2 Working for props: ```ts declare global { interface Object { fromEntries: any; } } function partialModelCreator(properties: P) { return { fullModel(name: string) { return types.model(name, properties); },...
Once you have a model in hand, you won't have any performance differences on runtime. But typescript lang engine dose work harder
https://github.com/mobxjs/mst-gql/blob/master/README.md :)
I will take a look, but i'm not sure when i will get to it. Would you like to try and make a PR?
> Anything update on it?🙏 It's a hard-fix, maybe you can work with a append only strategy, and increment a counter to the latest message that wasn't red yet
> I adapted @sherifmayika 's advice and finally made my fork work. Please try https://github.com/reorx/webpack-ext-reloader, which should be fully compatible with MV3. is it published to NPM?
@nylen you may try to set `incognito: spanning` in your manifest file to have only one background page https://developer.chrome.com/extensions/manifest/incognito#spanning It will not work unfortunately
I'm not sure how feasible to integrate with deno, but tsc have the incremental flag to speedup re runs, or spin up language server and keep it alive https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-4.html#faster-subsequent-builds-with-the---incremental-flag https://github.com/microsoft/TypeScript/wiki/Using-the-Compiler-API#incremental-build-support-using-the-language-services