-
Notifications
You must be signed in to change notification settings - Fork 246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clerk breaks Remix HMR #1016
Comments
I got this same issue. Any workaround to this? |
workaround: I'm afraid the time saved going w/ turn-key solution is unwound when factoring in awaiting fixes. |
That sucks, really wanted to go with clerk for this project. Might have to wait a bit |
Clerk is super easy to get going with, props for that, but unless have very simple use case, will find you end-up spending more time workaround around it (and / or waiting for fixes, features, etc.) than the time saved. That's my experience anyway, esp. of not on the Nextjs mainline which gets all the love. |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days. |
Hello everyone! I cannot seem to reproduce this issue easily. I'm using the provided repo and following the steps, and it seems that I cannot break it 😅 . Now that the Dev Server is stable, can you please use the latest version of Remix (v1.18.1) and enable the |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days. |
This issue was closed because it has been stalled for 10 days with no activity. |
@anagstef I'm experiencing this now, and the behaviour changes greatly depending on the Wrangler version. If I create a reproduction case, will the Clerk team review it? |
Oh, no, it was my problem. The problem disappears after setting |
pk_test_dXNhYmxlLXRvcnRvaXNlLTg4LmNsZXJrLmFjY291bnRzLmRldiQ
Package + Version
See here for repro and version info:
https://github.com/rolanday/remix-clerk
Browser/OS
Chrome Version 111.0.5563.146 (Official Build) (x86_64)
Description
After adding Clerk to Remix, HMR support breaks (appears random, but happens frequently), w/the following error:
Application Error
TypeError: Failed to fetch
at fetchData (http://localhost:3000/build/_shared/chunk-EEQ5UKM3.js:1629:24)
at http://localhost:3000/build/_shared/chunk-EEQ5UKM3.js:1864:26
at runHandler (http://localhost:3000/build/_shared/chunk-BI4NODAN.js:2334:26)
at callLoaderOrAction (http://localhost:3000/build/_shared/chunk-BI4NODAN.js:2366:22)
at http://localhost:3000/build/_shared/chunk-BI4NODAN.js:1631:70
at Array.map ()
at callLoadersAndMaybeResolveData (http://localhost:3000/build/_shared/chunk-BI4NODAN.js:1631:55)
at handleLoaders (http://localhost:3000/build/_shared/chunk-BI4NODAN.js:1262:15)
at startNavigation (http://localhost:3000/build/_shared/chunk-BI4NODAN.js:1117:15)
at Object.revalidate (http://localhost:3000/build/_shared/chunk-BI4NODAN.js:1044:7)
HMR support is new in remix 1.14 and was a highly anticipated feature, so appreciate it if someone on the Clerk team could look into it asap. Here are the details:
https://github.com/remix-run/remix/releases/tag/remix%401.14.0
To repro, simply
npm run dev
after installing depshttp://localhost:3000
w/ browser// export default App
, repeat same as above for a great and reliable HMR experience in Remix.The text was updated successfully, but these errors were encountered: