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

chore: test react-router basename #1

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

Conversation

hi-ogawa
Copy link
Owner

@hi-ogawa hi-ogawa commented Nov 27, 2023

todo

  • dev
  • build + start
  • hmr
  • <Link />
    • prefetch
    • relative
    • outside of basename (this is not client side navigation, so it would be simply <a>)
  • useNavigate
  • resource route
  • no FOUC
  • verify all requests are under /mybase/
  • custom server
  • loader redirect
    • document request (server side 302)
    • data request (client side "X-Remix-Redirect")
    • outside of basename (use redirectDocument)
  • action
  • more remix/react-router api (e.g. useLocation, useMatches, useFetchers, ...)
  • basename != publicPath case
    • dev: publicPath (= vite base) must be a prefix of basename
    • build
  • pre-vite remix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant