Skip to content
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

fix(remix): Remix 1.8 hotfix #598

Merged
merged 1 commit into from
Dec 7, 2022

Conversation

nikosdouvlis
Copy link
Member

@nikosdouvlis nikosdouvlis commented Dec 7, 2022

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

Packages affected

  • @clerk/clerk-js
  • @clerk/clerk-react
  • @clerk/nextjs
  • @clerk/remix
  • @clerk/types
  • @clerk/themes
  • @clerk/localizations
  • @clerk/clerk-expo
  • @clerk/backend-core
  • @clerk/clerk-sdk-node
  • @clerk/edge
  • build/tooling/chore

Description

  • npm test runs as expected.
  • npm run build runs as expected.

We temporarily throw the interstitial page from within getAuth in addition to the rootAuthLoader.ts

See remix-run/remix#4791 for details

@linear
Copy link

linear bot commented Dec 7, 2022

JS-45 Resolve remix "impossible state" issue

Explained in detail here:

remix-run/remix#4791

Also reported here:

#594

import { getAuthData } from './getAuthData';
import { GetAuthReturn, LoaderFunctionArgs } from './types';
import { sanitizeAuthData } from './utils';

const EMPTY_INTERSTITIAL_RESPONSE = { message: getAuthInterstitialErrorRendered };
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙃 We can remove getAuthInterstitialErrorRendered completely.

We temporarily throw the interstitial page from within getAuth in addition to the rootAuthLoader.ts

See remix-run/remix#4791 for details
@nikosdouvlis nikosdouvlis force-pushed the js-45-resolve-remix-impossible-state-issue branch from d50c271 to d4bd9dc Compare December 7, 2022 10:05
@nikosdouvlis nikosdouvlis merged commit 2099ed8 into main Dec 7, 2022
@nikosdouvlis nikosdouvlis deleted the js-45-resolve-remix-impossible-state-issue branch December 7, 2022 10:18
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants