Sebastian "Sebbie" Silbermann
Sebastian "Sebbie" Silbermann
Did you check each callsite of this function?
> And I suspect there is a missing await here https://github.com/vercel/next.js/commit/bb268be5a141965b7048b7f2dd8a3fcdc3b20530 That's already an async function so adding an `await` to the return is unnecessary.
Can you reduce the example to the minimal required code to reproduce this without all the abstractions you currently have in place? It's hard to follow what's going on.
I don't think this is minimal. Remove as much code as possible until it no longer reproduces. It doesn't need to be code you would actually ship to production. Just...
> Nonetheless, could you confirm that importing hooks dynamically in tandem with use() like that is a "legal" React way? I don't think that's a problem. `use()` should be able...
> Do I understand correctly that, in the approach outlined here, since use() is given a promise within another hook the rules of hooks are not broken? I'm not following...
Can you add some screenshots of before and after?
Test failures are unrelated.
Have you considered the suggestions in the exception? > Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must...
I think it makes more sense to let users configure the pretty-format options globally. We're going over these again and again and I think there's no good one-size-fits-all. I'd definitely...