My project uses libraries that are not ready for React 19, therefore I am using React 18, Next.js v. 14.2.23, React Three Fiber 8.17.10, and React Three uikit 0.8.4.
When trying to reproduce the first layout example
<Suspense fallback={null}>
<Canvas
style={{
position: "fixed",
width: "100%",
height: "100vh",
top: 0,
left: 0,
}}
gl={{ localClippingEnabled: true }}
>
<Root sizeX={2} sizeY={1} flexDirection="row">
<Container flexGrow={1} backgroundColor="red" />
</Root>
</Canvas>
</Suspense>
I get the following error:

The component is a client component with "use client";.
The problem still occurs in a brand new Next project.
What am I doing wrong?