Code Monkey home page Code Monkey logo

Comments (3)

tptee avatar tptee commented on August 16, 2024

You're on the right track. I'd recommend importing hashHistory from history instead of react-router, though.

I haven't tried hashHistory in this project yet and it's not a huge priority for us, since the HTML5 History API enjoys widespread support. I'd definitely welcome a PR that updates our test suite to test against both browserHistory and hashHistory!

from redux-little-router.

dpwrussell avatar dpwrussell commented on August 16, 2024

It's actually been a long time since I really looked at how histories work. I was under the misguided impression that without server side rendering, hashHistory was the only way to go. Now I look into it again, it seems that the HTML History API will work just fine as long as I'm smart about how I query for data that each route and/or component needs.

That said, I expect someone will want it for older browser support at some point.

Thanks

from redux-little-router.

tptee avatar tptee commented on August 16, 2024

Cool, I'll reopen this if we get a good chunk of requests for it 👍

from redux-little-router.

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.