Max Stoiber

Results 289 comments of Max Stoiber

Or maybe this already works? ```JS import type { RawDraftContentState } from 'draft-js/lib/RawDraftContentState.js.flow'; const storePost = (body: RawDraftContentState) => { return storePostInDb({ body }); } ```

Just to note, I also tried to generate a JS file from the Draft types with the CLI like so: `flow-runtime generate ./node_modules/draft-js/lib > src/draft-types.js` Unfortunately, that outputs an empty...

Looking at the first and last error messages in that list, it might have something to do with the rate limiting of our hosting provider (Zeit) responding with an error...

Oh shit I think it is because the ServiceWorker responds with the app shell when requesting `/sw.js` once it already cached everything! Ughhhhh

Oh I see 🤔 Hmm... Not sure what could be it then, since requesting https://spectrum.chat/sw.js works perfectly fine (except if you have the app cached, obviously) but we're seeing this...

Nope, still happening for us and it's very breaking :cry:

> BTW - is true (= 1 hour) the most reasonable default, or should we have a slightly longer default, say 10 hours or something like that? I think it...

Just to note, Promises and callbacks aren't necessarily exclusive, you can support both in one function: ```JS const asyncFunc = (callback) => { const doAsyncThing = (cb) => {/* Do...

I'm hitting the same issue with these versions: ```JS "@prisma/client": "^2.14.0", "nexus": "^1.0.0", "nexus-plugin-prisma": "^0.28.0", "graphql": "^15.4.0", ```

I am hitting the same issue — does anyone have a resolution for this?