reacton
tictacreact2
Our great sponsors
reacton | tictacreact2 | |
---|---|---|
6 | 6 | |
270 | 17 | |
1.5% | - | |
7.3 | 2.2 | |
10 days ago | 10 months ago | |
Python | Python | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
reacton
-
It's React, but in Python
2. Works with ipywidgets, so many existing data apps can be ported over very easily -- Jupyter users celebrate.
I'm not associated with the project, but I know the maintainers (creators of Volia [2]) and they are honestly excellent. I haven't use the project in production, but the getting starting guide is pretty compelling.
[1] https://github.com/widgetti/reacton
-
Introducing Starfyre: A Pure Python Framework for writing Reactive Front-End Applications
Take a look at https://github.com/widgetti/reacton
-
This Week In Python
reacton – A pure Python port of React for ipywidgets
-
Reacton - A pure Python port of React for ipywidgets
Our GitHub repo is at: https://github.com/widgetti/reacton Documentation is at: https://reacton.solara.dev/
- Show HN: Reacton – A pure Python port of React for ipywidgets
tictacreact2
-
Reviving PyMiniRacer: A Python <> JavaScript Bridge
I've made React applications using Python via Transcrypt, but wrap component functions in a Python decorator that make direct calls to React.createElement() instead of using JSX (example: https://github.com/JennaSys/tictacreact2). It's possible to use JSX with this approach as well, but IMO it starts to get messy and defeats the purpose of using JSX in the first place.
-
React JSX vs react with HMTL
If you are curious what the code looks like, this is the official Intro to React tutorial done in Python with function components.
-
Reacton - A pure Python port of React for ipywidgets
I actually use Python to create React applications via Transcrypt and use functional components in that process. IMO it's quite a bit cleaner than using class components. It's more of a functional programming paradigm than OOP, but didn't take long to get used to. You do end up using more closures and lambdas than you would with procedural and OOP. This example based on the official React tutorial gives you an idea of what it looks like in Python.
- Show HN: Pynecone – web apps in pure Python
-
Python and the Browser - Revisited
Listing 1: index.html
-
New Python Library for Reactive UI
As an exercise, I did the official React tutorial using Python, and also converted it to use hooks instead of classes: https://github.com/JennaSys/tictacreact2
What are some alternatives?
ComponentKit - A React-inspired view framework for iOS.
reflex - 🕸️ Web apps in pure Python 🐍
Robyn - Robyn is a Super Fast Async Python Web Framework with a Rust runtime.
pyedifice - Declarative GUI framework for Python and Qt
Poetry - Python packaging and dependency management made easy
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production
flet - Flet enables developers to easily build realtime web, mobile and desktop apps in Python. No frontend experience required.
htmx - </> htmx - high power tools for HTML
tictacreact - React tutorial app using Python with Transcrypt
starfyre - A reactive, WASM based SSR Python Web Framework for Front-End Applications
wasp - The fastest way to develop full-stack web apps with React & Node.js.