You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue also happens with every component commented out and the only styled component being in the styled.div in the last file (TasksOverview)
Steps to reproduce
git clone [email protected]:rnnyrk/tasks-sc.git
cd tasks-sc && pnpm i
pnpm dev
Expected Behavior
I'm trying to get Styled Components working with React Aria + NextJS 14. Rendering the Styled Components as use client, so that shouldn't cause trouble. I expect the components to render without an error, since I'm not extending any component as the error suggests..
Actual Behavior
Component is not a styled component and cannot be referred to via component selector.
But I'm not extending any component. Codebase is rather simple, just a few styled components. Also downscaled to one rendering 1 component which is just a styled.div I get this error..
The text was updated successfully, but these errors were encountered:
rnnyrk
changed the title
Simple Styled Component giving error about extending not existing component
Simple Styled Component giving error about extending not existing component in Next 14
Mar 1, 2024
Environment
Reproduction
https://github.com/rnnyrk/tasks-sc
https://github.com/rnnyrk/tasks-sc/blob/main/src/components/modules/tasks/TasksOverview.tsx
Issue also happens with every component commented out and the only styled component being in the
styled.div
in the last file (TasksOverview)Steps to reproduce
Expected Behavior
I'm trying to get Styled Components working with React Aria + NextJS 14. Rendering the Styled Components as
use client
, so that shouldn't cause trouble. I expect the components to render without an error, since I'm not extending any component as the error suggests..Actual Behavior
But I'm not extending any component. Codebase is rather simple, just a few styled components. Also downscaled to one rendering 1 component which is just a
styled.div
I get this error..The text was updated successfully, but these errors were encountered: