Get Chakra UI working with Remix Run
See original GitHub issueDescription
Incompatible with remix-run
Link to Reproduction
https://codesandbox.io/s/autumn-dream-se227
Steps to reproduce
- Click on ‘button’
- Color mode value doesn’t change with
useColorMode
anduseDisclosure
doesn’t work withSlide
component. - Initial color mode doesn’t load correctly too
Chakra UI Version
1.7.2
Browser
FireFox Nightly 96.0a1(2021-11-26)
Operating System
- macOS
- Windows
- Linux
Additional Information
No response
Issue Analytics
- State:
- Created 2 years ago
- Reactions:5
- Comments:33 (18 by maintainers)
Top Results From Across the Web
Remix - Chakra UI
A guide for installing Chakra UI with Remix projects. ... Inside your Remix project root directory, install Chakra UI by running either of...
Read more >Discover - Remix Guide
The Remix Stack with Clerk authentication, Supabase database, Chakra UI, testing, linting, and more. Made by clerkinc. package / www.
Read more >Moving from Next to Remix - OpenReplay Blog
Once Chakra UI was set up and running, we could start with the fun stuff of porting existing Next.js-based code over to Remix....
Read more >Using a custom font with Remix Run and Chakra UI
The documentation that Chakra has regarding fonts did not work for me. So if it doesn't work for you, here's how to do...
Read more >Remix - Saas UI
Inside your Remix project root directory, install Saas UI by running either of the following: npm i @saas-ui/react @chakra-ui/react @emotion/react@^11 ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@JClackett You can get the sample I created from my Github
Having an official way to integrate Chakra UI w/ Remix would be nice!
I wanted to add that I’ve been getting issues when navigating to routes that aren’t defined. I add the provider in the
Document
component which is shared between theApp
andCatchBoundary
. Despite it being in both places, all styling is removed when it hits theCatchBoundary
.I’ve tried adding the provider to the
server.entry
file and using the provided solution @primos63 added above. Neither seems to fix the issue.