Ben Newman

Results 203 comments of Ben Newman

Having second thoughts about #132 now. If we can detect that `arguments` is used in a read-only way, is that enough to prove the hoisting strategy is sound?

:+1: This would be great to have for any kind of expensive `require` hooks, not just Regenerator. Coffeescript, for example.

I recently became aware of a very clever `globalThis` polyfill that works in all JS implementations, without ever resorting to using the `Function` constructor: https://mathiasbynens.be/notes/globalthis (by @mathiasbynens). Here's another project...

This is definitely a bug! Usually this is solved by running the Babel transform for template literals before `regenerator-transform`, but I think it would be relatively easy to handle `TemplateLiteral`...

@jedwards1211 I think this is a great idea, and thanks for sharing concrete code! I may be able to get this copy/pasted/tested soon, but I would also be happy to...

@jprichardson How committed are you to continuing to support Node 0.12? I ask because that's the only Node version that's still failing. I think I know how to fix it,...

@lprokein You can read more about the somewhat obscure role `INVALIDATE` plays in the [docs for `client.refetchQueries`](https://www.apollographql.com/docs/react/data/refetching/#refetch-recipes), which allows you to refetch invalidated queries without actually removing any data from...

I suspect the immediate issue here is that `cache.modify` currently only works for fields that explicitly exist in the cache (so, for example, it can't add new fields). Since `isFollowing`...

@mskorokhodov Just in case it helps, can you try updating to the latest beta release with `npm i @apollo/client@beta` (which will give you version `3.7.0-alpha.4`)?