Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: generalize dash into python front end to React #41

Closed
gigatexal opened this issue Jun 25, 2017 · 2 comments
Closed

Feature request: generalize dash into python front end to React #41

gigatexal opened this issue Jun 25, 2017 · 2 comments

Comments

@gigatexal
Copy link

Saw this project on hacker news and was immediately intrigued. What would be really, really cool would be a more generalized project that acts as a front end to react such that we could write python and render react in flask. If such a project already exists, my apologies.

@chriddyp
Copy link
Member

Thanks for your interest @gigatexal !

if we could write python and render react in flask.

Could you explain what you mean a little bit more here? Do you mean server-side rendering?

Here are some more resources about how Dash works with React right now:

  • Dash is already an interface to React - it renders the app in React and all of the components are React based components. For more high-level information, see the announcement letter
  • The front-end for React is generalized and the code is in this repository here: https://github.com/plotly/dash-renderer.
  • You can write your own React components and generate a python interface to this components through Dash's plugin system: https://plot.ly/dash/plugins

@gigatexal
Copy link
Author

gigatexal commented Jun 30, 2017

I think what you described is what I am looking for. I think what I was seeking was outside of the scope of the project: write python (never touch jsx) and have my python rendered as html via react. Something along the lines of a < u l > with n number of < l i > items could be a python for loop maybe. I know this example is trivial but I hope it gets the point across. Nevertheless, I think the Dash-Renderer and the plugin system should suffice for me to get started.

byronz pushed a commit that referenced this issue Apr 23, 2019
as fixed in  1c191a1f15c007e7f2a4d2ddc6797b6288202be9
AnnMarieW pushed a commit to AnnMarieW/dash that referenced this issue Jan 6, 2022
[MRG] Add basic textarea component
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants