tictacreact2
reacton
tictacreact2 | reacton | |
---|---|---|
6 | 6 | |
17 | 270 | |
- | 0.4% | |
2.2 | 7.4 | |
10 months ago | 6 days 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.
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
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
What are some alternatives?
reflex - 🕸️ Web apps in pure Python 🐍
ComponentKit - A React-inspired view framework for iOS.
pyedifice - Declarative GUI framework for Python and Qt
Robyn - Robyn is a Super Fast Async Python Web Framework with a Rust runtime.
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production
Poetry - Python packaging and dependency management made easy
flet - Flet enables developers to easily build realtime web, mobile and desktop apps in Python. No frontend experience required.
tictacreact - React tutorial app using Python with Transcrypt
htmx - </> htmx - high power tools for HTML
wasp - The fastest way to develop full-stack web apps with React & Node.js.
starfyre - A reactive, WASM based SSR Python Web Framework for Front-End Applications