Giter Site home page Giter Site logo

dash_querystrings's Introduction

Metrics

dash_querystrings's People

Contributors

oegedijk avatar oegesam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

renatkh

dash_querystrings's Issues

pyshortener update

The pyshortener package seems to have changed. This modification was required to the page_load module:

    if n_clicks and state:
        shortener = Shortener()
        return shortener.tinyurl.short('http://127.0.0.1:8050' + state)

Can this be made to work with a Flask app linked to 2 Dash apps?

Hi @oegedijk! Thank you so much for your work, it's very promising.

I've tested it with one of my Dash apps and it's working flawlessly.

However, I wanted to use this functionality for a project of mine which is based on a Flask app which links to 2 different Dash apps. In that case, I couldn't get the querystrings to work (the URL didn't update, and URL parameters weren't passed to components).

My workflow is a bit different, since I'm passing the Flask server to the Dash class. Then when the Flask app is created, the dashboards are added within a Flask app_context.

While moving to a pure Dash environment is viable (the projected started in Flask and then evolved to include Dash apps, which is why it has its current setup), I would need to keep both Dash apps working simultaneously. From what I've been reading (1, 2), no one has managed to make these workarounds work for multi-app setups.

So I was wondering if this is something you have faced and if you've found any solutions.

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.