GithubHelp home page GithubHelp logo

dash2's Introduction

Hi, I'm Dean ๐Ÿ‘‹

I've been creating widely-used open source projects since 2014. I believe in releasing all my useful software products and knowledge into the wild so that everyone can benefit from them!

My office hours schedule for existing sponsors

You can see a list of my popular tools on my Projects page.

Please consider supporting my work โค๏ธ for everyone's benefit. I currently spend about half my time on open source and my other half on paying the bills by providing private consulting. My goal is to transition to only open source to reach more people with my work.

dash2's People

Contributors

daattali avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

dash2's Issues

Consider allowing config parameters to be set after initialization

For example the parameters 'url_base_pathname', 'routes_pathname_prefix', 'requests_pathname_prefix' currently need to be set in the creation of the dash object (or in envvars). To me they don't sound like they should be associated with the function that creates the Dash object, because it couples the dash object right from the beginning to how it's going to be hosted. That feels like something that should either be added into the Dash object after creation, or provided to the app$run_server() function. Perhaps some sort of a "config" system, where config parameters can be added either in the constructor or in run_serve() or any time in between using app$modify_config().

Just some thoughts for later.

Don't "depend" on dashHtmlComponents

Since {dash2} exports its own HTML tag building functions, it may be redundant to also make all the {dashHtmlComponents} functions available since there's a one-to-one mapping between those and the html list.

The package should be moved from "Depends" to "Imports" in DESCRIPTION.

This is not currently possible due to plotly/dashR#260 blocking it

Consider removing n_clicks parameter from HTML tags

All HTML tags currently have n_clicks as an argument. It can be used with any tag, but it's mostly useful just for buttons. Even if the user doesn't specify this parameter, it implicitly gets set by dash behind the scenes, so removing it still allows buttons (or any other tag) to receive an n_clicks prop in callbacks. The parameter allows users to specify a non-zero value, which I can't think of many good use cases for.

The main reason to keep it around is for consistency with other languages, and for transparency so that users know it's a propr they can use in callbacks.

Tagging @alexcjohnson

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.