Eric Burel

Results 245 comments of Eric Burel

Hi guys, lagger here, just to confirm, if I use the immerser wrapper, then the whole code base should suddenly use Immer, even if I do not use them within...

@piciuok Here is a gist, I've replaced all imports to immutable by this "non-immutable" - Link: https://gist.github.com/eric-burel/66c1f531d0dd987a99d6b6ff3bd1a184 - /!\ It may be buggy! I've noticed a few minor issues with...

Related issue at Storybook: https://github.com/storybookjs/storybook/issues/15962 Their solution use a webpack plugin that probably does something similar. Just to clarify, having ".js" extension in a TypeScript barrel file (an index that...

Hi, this is problematic for us at Vulcan since we have moved our package library, that depends on @apollo/client, to ESM. Our library won't work in Next and users are...

Here is a gist: https://gist.github.com/eric-burel/543bdc809bcc62208deabdeb004db724 Tested with Apollo 3.5.10 Add `node ./fix-apollo.js` to `postinstall` package.json

> Any updates here? A year later it's still an issue when trying to use @apollo/client with something like Nuxt on Node 16 > > ``` > file:///home/fabis/Code/speckle/speckle-website-fe/node_modules/@apollo/client/utilities/globals/fix-graphql.js:1 > import...

> @eric-burel Why not just convert the imports to the format shown in the error message? @benjamn can maybe have more info I am not sure it's that easy, when...

This breaks with Jest 28 as well, I had to reintroduce @apollo/client and ts-invariant in the build: ``` // in my jest config transformIgnorePatterns: [ "/node_modules/(?!(@apollo/client|ts-invariant))", "^.+\\.module\\.(css|sass|scss)$", ], ``` and...

> Here is a gist: https://gist.github.com/eric-burel/543bdc809bcc62208deabdeb004db724 Tested with Apollo 3.5.10 Add `node ./fix-apollo.js` to `postinstall` package.json My patch doesn't work anymore with PNPM symlinking. I am able to provide open...

> Node 16 SSR ESM project: we point to the internal `index.js` in the package. Seems to work. > > ```js > import { ApolloClient, from, gql } from '@apollo/client/core/index.js';...