Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

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

@hi-ogawa hi-ogawa force-pushed the feat-react-router-basename branch from 6582a82 to 358e4eb Compare November 27, 2023 06:39
@hi-ogawa hi-ogawa force-pushed the feat-react-router-basename branch from cc0a174 to 5396085 Compare December 5, 2023 01:16
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.

1 participant