Coder Social home page Coder Social logo

Comments (3)

destructobeam avatar destructobeam commented on April 30, 2024 3

Hey @molefrog,

Do you know the rationale is behind the intentional lack of support? I’m curious as to why that would be.

I think it’s a nice interface for passing animation names and vars between routes, and anything else you need to pass additional parameters to without gumming up the URL with params or necessitating a global state management lib. It also persists state changes across browser native back/forward buttons which is nice.

It makes sense to me to have it as part of the wouter lib as the history API methods are already utilised, so it would potentially be less overhead and a cleaner API than an isolated solution that would require wrapping each component? But I could be missing something here.

Cheers!

from wouter.

molefrog avatar molefrog commented on April 30, 2024

@destructobeam Hi and thanks for the issue!

I see that this is something that we intentionally don't support in wouter, but since pushState supports it, why wouldn't we implement this? However, my concern is if it's actually going to be used by developers.

Can you provide a use case? Thanks!

from wouter.

molefrog avatar molefrog commented on April 30, 2024

The discussion moved to #102

from wouter.

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.