react-imgix and Next 13 app router
Answered
Mudi posted this in #help-forum
MudiOP
Anyone here using the
react-imgix package? I found today that it crashes Nextjs as soon as Next tries to server-render something which uses the <Imgix> component. I opened a bug report at https://github.com/imgix/react-imgix/issues/909 but I wonder if anyone has seen and worked around this somehow.Answered by Mudi
Their developers responded, saying for now the solution is to use a wrapper component with
"use client".2 Replies
MudiOP
Their developers responded, saying for now the solution is to use a wrapper component with
"use client".Answer
MudiOP
I'm considering writing a new implementation, though.