GithubHelp home page GithubHelp logo

Comments (3)

thejohnhoffer avatar thejohnhoffer commented on April 28, 2024

I have waited on the merger of PR #911 for a while. As a workaround, I have created use-hash-history, which provides a Proxy around history in <200 lines of typescript.

  • hashType: "noslash" is possible in my proxy with hashRoot: ""
  • hashType: "hashbang" is achieved with hashRoot: "!/"

from history.

thejohnhoffer avatar thejohnhoffer commented on April 28, 2024

It seems this issue may go unaddressed because this rejected issue is not a concern for react-router. It seems history exists primarily to serve React Router, according to @mjackson:

The goal with history v5 is to make this library just an implementation detail of React Router v6

@ryanflorence declared this issue was not a priority for React Router:

Thanks but we'll keep the / :)

@timdorr confirmed that:

As Ryan mentioned, this isn't going to be implemented

This feature would be nice to have, but Remix is paid to do things, and keeping "backwards support" for prettier URLs might not serve their goals as an organization at the moment.

Other related issues:

from history.

chazlm avatar chazlm commented on April 28, 2024

does this work with [email protected]?

from history.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.