You cannot dot into a client module from a server component
Answered
aprilia posted this in #help-forum
apriliaOP
Couldnt implement this https://mui.com/material-ui/react-timeline/#left-aligned-with-no-opposite-content
18 Replies
apriliaOP
please dont force me to wrap this whole thing into a client component 😔
anyother solution than that ?
@aprilia anyother solution than that ?
Spot-billed Duck
wrap
the
whole
thing
the
whole
thing
Answer
apriliaOP
Hmmmm
Spot-billed Duck
yeah, that's annoying
apriliaOP
is it considered a limitation for now or we can expect nextjs to do better in this area in near future ?
Spot-billed Duck
I don't think, that is related to your code architecture
apriliaOP
🙂
@aprilia is it considered a limitation for now or we can expect nextjs to do better in this area in near future ?
This is really more a compatibility issue between MUI and react 18, not necessarily related to next
apriliaOP
I see, i got confused by seeing the error message so thought its related to nextjs
apriliaOP
ah got it
Maybe creating a separate component that only contains that MUI component or making a client provider would help
apriliaOP
Iike wailroth said i wrapped up the whole thing
Just the timeline component or the entire page?
apriliaOP
just the timeline component
I am in website and not in the discord app
will close this post a bit later