Next.js Discord

Discord Forum

Suspense boundary error while importing library icons

Unanswered
Almond stone wasp posted this in #help-forum
Open in Discord
Almond stone waspOP
Hi! I'm having an issue while importing a third party library icons. Those icons, in the library, are lazy imported and surrounded with a suspense but in my next app I get the error "Error: This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition." I'm pretty sure it appears cause icons suspense is resolved before my app has finish hydrating, my questions is, Is there something I can do in my end or should the fix be applied in the library side?

Thanks in advance

0 Replies