Using Next.js’s “notFound” function within an effect
I’m trying to use effect to manage a bunch of data fetching within a Next.js page, but I realized that the notFound function throws an error that is intercepted by the router, and effect interferes with that error. Is there any sort of workaround for this?
