Ze-Zheng Wu
Ze-Zheng Wu
I can look into this after vacation (~2.18).
Would you mind updating Biome to the latest version (v1.7.0)?
I'm working on a browser-targeted ESM package that supports creating v1, v2 or hybrid torrents, as well as bencoding and bdecoding functions. It's not production-ready for now but I'd be...
@ThaUnknown Thank you for the suggestion, it appears I missed the lesson 😄. I'll start looking into refactoring it.
Does anyone like me think this might have something to do with the ["Dual Package Hazard"](https://nodejs.org/api/packages.html#:~:text=The%20reason%20that,to%2Dtroubleshoot%20bugs.) caused by multiple instances of a same dependency? > The reason that state is...
@dai-shi yeah you're right it is not caused by zustand library itself. I did some test and I saw this error is triggered when `useDebugValue` is called on the server...
> Ah, maybe because React doesn't provide ESM. Can you try this? > > ```js > // ./node_modules/zustand/esm/index.mjs > import React from 'react' > > // ... > React.useDebugValue(slice) >...
These two issues might be relevant? (but neither solves this problem) https://github.com/vercel/next.js/issues/41929 https://github.com/react-bootstrap/react-bootstrap/issues/6475 and this doc: https://beta.nextjs.org/docs/rendering/server-and-client-components
I start thinking that this issue may be a misuse of the nextjs 13 `appDir` feature? If I follow the [docs](https://beta.nextjs.org/docs/upgrade-guide#migrating-from-pages-to-app) to setup/migrate the app to nextjs 13. Everything just...
> @ematipico Could you share the option we have to set to get it to work ? @MarArMar ```json { "json": { "parser": { "allowTrailingCommas": true, }, "formatter": { "trailingCommas":...