# Long-term plan for how Dash fits in with WebAssembly?

**URL:** <https://community.plotly.com/t/long-term-plan-for-how-dash-fits-in-with-webassembly/63696>\
**Category:** Dash Python\
**Created:** [May 3, 2022, 11:57pm UTC](https://community.plotly.com/t/long-term-plan-for-how-dash-fits-in-with-webassembly/63696 "2022-05-03T23:57:37Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![HashRocketSyntax](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/hashrocketsyntax/32/8972_2.png) [@HashRocketSyntax](https://community.plotly.com/u/HashRocketSyntax)\
**Post date:** [May 3, 2022, 11:57pm UTC](https://community.plotly.com/t/long-term-plan-for-how-dash-fits-in-with-webassembly/63696/1 "2022-05-03T23:57:37Z")

</div>

During a PyCon keynote, Anaconda announced [PyScript](https://anaconda.cloud/pyscript-python-in-the-browser) with a strong call-to-arms to take Python to the web.

Given that it’s Python embedded in an HTML tag, I immediately thought of Dash.

 ![FRmpmUlUUAERHUX](https://us1.discourse-cdn.com/flex024/uploads/plot/original/3X/b/e/bebbb4ce42769dd58abd817809909297286ac3c4.jpeg)

Previously, I didn’t pay much attention to tools like JupyterLite because I didn’t understand that WebAssembly enabled ~ compiling Python for use alongside HTML for client-side use. Now I see that it opens a whole world of possibilities.

![31ea07ba-dadc-4d18-b79e-d309328762d0](https://us1.discourse-cdn.com/flex024/uploads/plot/original/3X/8/b/8bade64632e37e2b69e633922f359aac1aa379a9.png)

After hearing Pyodide’s separate talk on the state of their ecosystem, it seems like they have several _years_ of hard work ahead of them smoothing everything out, and each Python package will have to make changes to become compatible. They also mentioned figuring out how to incorporate React into their ecosystem. So, again, I thought of Dash.

However, given Panel’s relationship to Anaconda, I’d expect strong competition in the client-side (WASM) reactive dashboard space soon.

* * *

- Will Dash enter the WASM space?
  - [GitHub - ibdafna/webdash: WebAssembly powered Plotly Dash running in the browser](https://github.com/ibdafna/webdash) with involvement from JupyterLite creator

- If the natural order of things shifts to Python-in-Html, does Html-in-Python still make sense?
- If Python is replacing JS, would it even make sense to use React as the realtime enabler? Or would a Python-based frontend framework/ AJAX-like tool make more sense?
- Is Pyodide the right approach?

---

<div class="post-metadata">

**Author:** ![HashRocketSyntax](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/hashrocketsyntax/32/8972_2.png) [@HashRocketSyntax](https://community.plotly.com/u/HashRocketSyntax)\
**Post date:** [May 25, 2022, 11:48pm UTC](https://community.plotly.com/t/long-term-plan-for-how-dash-fits-in-with-webassembly/63696/2 "2022-05-25T23:48:41Z")

</div>

Other community members have started working on [this already](https://discuss.streamlit.io/t/new-library-stlite-a-port-of-streamlit-to-wasm-powered-by-pyodide/25556).

---

<div class="post-metadata">

**Author:** ![adamschroeder](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/adamschroeder/32/17280_2.png) [@adamschroeder](https://community.plotly.com/u/adamschroeder)\
**Post date:** [May 26, 2022, 3:42pm UTC](https://community.plotly.com/t/long-term-plan-for-how-dash-fits-in-with-webassembly/63696/3 "2022-05-26T15:42:07Z")

</div>

That’s a good question @HashRocketSyntax  
We have started thinking about this possibility, but nothing concrete yet.

In fact, we’ve been in conversation with Itay, the creator of [webDash](https://github.com/ibdafna/webdash). If any progress is made, we’ll make sure to update this post.

---

<div class="post-metadata">

**Author:** ![kabure](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/kabure/32/19351_2.png) [@kabure](https://community.plotly.com/u/kabure)\
**Post date:** [June 5, 2022, 5:38pm UTC](https://community.plotly.com/t/long-term-plan-for-how-dash-fits-in-with-webassembly/63696/4 "2022-06-05T17:38:18Z")

</div>

@HashRocketSyntax Congratulations on the post!

I was going to open a new thread exactly about this subject but yours covers all my questions;

It would be interesting to understand how Dash could be affected by all these new approaches in the future… I’m sure that it opens new doors and can be a life-changer in the way dash is built;

With Pyscript we couldn’t have a kind of “py-react” instead of the current approach of converting components?

---

<div class="post-metadata">

**Author:** ![chriddyp](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/chriddyp/32/16855_2.png) [@chriddyp](https://community.plotly.com/u/chriddyp)\
**Post date:** [June 16, 2022, 9:25pm UTC](https://community.plotly.com/t/long-term-plan-for-how-dash-fits-in-with-webassembly/63696/5 "2022-06-16T21:25:31Z")

</div>

Lots of exciting stuff here! Thanks for kicking of the discussion all. I wrote some extended thoughts in our latest Dash Club newsletter: [Dash Club Dispatch #6: WebAssembly, Summer App Challenge & Show & Tell](https://community.plotly.com/t/dash-club-dispatch-6-webassembly-summer-app-challenge-show-tell/65200/2)

---

<div class="post-metadata">

**Author:** ![HashRocketSyntax](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/hashrocketsyntax/32/8972_2.png) [@HashRocketSyntax](https://community.plotly.com/u/HashRocketSyntax)\
**Post date:** [August 8, 2022, 12:40am UTC](https://community.plotly.com/t/long-term-plan-for-how-dash-fits-in-with-webassembly/63696/6 "2022-08-08T00:40:27Z")

</div>

As a follow up to _Shiny for Python_, RStudio/Posit announced WASM capabilities with _Shinylive_  
[https://shiny.rstudio.com/py/docs/shinylive.html](https://shiny.rstudio.com/py/docs/shinylive.html)
