Replies: 1 comment 1 reply
-
I've since turned this into a full stack component in my codebase.. if there's an interest I can submit a PR into this stack |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been hacking around with this stack and find myself wanting to slim down the root component. For instance, I'd want to move the theme switch function to a Header component. From a remix perspective, is it bad practice to add the theme switch to a header component that is imported as a client component in the root (or an index file)? It is performing server actions by updating user preferences so I guess I may still be in the nextjs mindset of client/server components in thinking that it it would be incorrect.
Beta Was this translation helpful? Give feedback.
All reactions