pyodide / pyodide-blog

The Pyodide blog
https://blog.pyodide.org
Mozilla Public License 2.0
15 stars 12 forks source link

Blog post on building react UIs with pyodide #11

Closed xhluca closed 2 years ago

xhluca commented 2 years ago

Happy to work on a draft based on my various experiments on the subject. A summary:

  1. The post would start with justifications of why python is a good choice for building UIs, then follow with an example of a simple react app, and how it can be rewritten in python via pyodide.
  2. After that, it would go over how this can be hosted on Flask or GitHub pages.
  3. Finally, an example of a UI built in react JS will be shown, and the same app rewritten in proxied react and in a cosmetic wrapping will be shown.
rth commented 2 years ago

That sounds fantastic, thanks @xhlulu !

Because your examples are relatively short, it could also be interesting to have a link to some playground at the end that includes it, to make it a bit more interactive. We have been considering it for examples in https://github.com/pyodide/pyodide/discussions/1954#discussioncomment-1680561