-
-
Notifications
You must be signed in to change notification settings - Fork 125
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
refactor: fs-router to use new_createPages #1003
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
@dai-shi the e2e test is failing because it seems like the 401 error is no longer caught correctly. Is this meant as a responsibility of Or do I need to try/catch the |
I'm not sure what broke it. Can you look into it? It's probably my oversight somewhere. |
8d2ed27
to
8232409
Compare
@dai-shi for the error boundary issue here... this screenshot shows in order:
The test fails because the error is being thrown from here: https://github.com/dai-shi/waku/blob/main/packages/waku/src/minimal/client.ts#L208 The Root is a parent of the With all of this, I am not sure how we should adjust: |
Do you mean |
|
I think the test should pass without modifying. This feels like a bug in new_defineRouter or NewRouter. 🤔 |
…#1013) add fallback mechanism for #1003. --------- Co-authored-by: Tyler <[email protected]> Co-authored-by: Tyler <[email protected]>
I am confident with the current state of
new_createPages
, but I'd appreciate help testing this further.This should come after #1000
This includes the commits from #1000 as well since it needs the fixes included over there. The latest commit on this branch is all that's relevant for this PR though.