Stef

Results 24 comments of Stef

Here's a minimal reproduction: https://github.com/stefee/react-testing-library-repro-1068

Here's the log output from `npm test` View log output ``` > jest console.error Error: Uncaught [Error: Fail] at reportException (/Users/stef.jones/src/react-testing-library-repro-1068/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24) at innerInvokeEventListeners (/Users/stef.jones/src/react-testing-library-repro-1068/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:343:9) at invokeEventListeners (/Users/stef.jones/src/react-testing-library-repro-1068/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:276:3) at HTMLUnknownElementImpl._dispatch (/Users/stef.jones/src/react-testing-library-repro-1068/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:223:9)...

@MatanBobi I just fixed the link, had it set as private by mistake. 🥇

The comment about ‘ad hoc’ I interpret as meaning ‘don’t try to do fetching without a data fetching library’ not ‘data fetching libraries should not adopt suspense’?

Ah I see. Thanks for clarifying this.

React 18 is released but a major version change. It will take time for the ecosystem of libraries and frameworks to be ready, so we have to be patient. I’m...

@gaearon See “Fallback Data” https://swr.vercel.app/blog/swr-v1#fallback-data “Pre-Rendering with Default Data” https://swr.vercel.app/docs/with-nextjs#pre-rendering-with-default-data

This could be fixed by removing circular references.

It seems like `@swc-node/core` is just a configuration layer around `@swc/core` - I have been using `@swc/cli` to do what you are describing and have a small `.swcrc` file, and...