https://github.com/egormkn/reacton-redux
⚛️ A Python implementation of Redux and Redux Toolkit with bindings for Reacton/Solara
https://github.com/egormkn/reacton-redux
ipywidgets jupyter jupyter-widgets reacton redux solara
Last synced: 3 months ago
JSON representation
⚛️ A Python implementation of Redux and Redux Toolkit with bindings for Reacton/Solara
- Host: GitHub
- URL: https://github.com/egormkn/reacton-redux
- Owner: egormkn
- License: mit
- Created: 2024-02-14T18:40:39.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-18T16:09:59.000Z (over 2 years ago)
- Last Synced: 2025-03-04T17:40:32.311Z (over 1 year ago)
- Topics: ipywidgets, jupyter, jupyter-widgets, reacton, redux, solara
- Language: Python
- Homepage:
- Size: 297 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Reacton Redux
A Python implementation of [Redux](https://redux.js.org/) and [Redux Toolkit](https://redux-toolkit.js.org/) with bindings for [Reacton](https://reacton.solara.dev/)/[Solara](https://solara.dev/)
[](https://pypi.org/project/reacton-redux/)
[](https://github.com/egormkn/reacton-redux/blob/main/LICENSE)
[](https://github.com/pre-commit/pre-commit)
[](https://github.com/psf/black)
[](https://github.com/PyCQA/isort)
[](https://github.com/astral-sh/ruff)
## Installation
```bash
pip install "reacton-redux[devtools]"
```
# Roadmap
- [x] `create_store`
- [x] `combine_reducers`
- [x] `compose`
- [x] `apply_middleware`
- [x] `reacton.StoreProvider`
- [x] `reacton.use_store`
- [x] `reacton.use_selector`
- [x] `reacton.use_dispatch`
- [x] `toolkit.create_action`
- [x] `toolkit.create_reducer`
- [ ] `toolkit.immer`
- [ ] `toolkit.create_slice`
- [ ] Documentation
- [ ] Examples
- [ ] Tests
## Links
- [Redux](https://redux.js.org/)
- [Fundamentals of Redux Course from Dan Abramov](https://egghead.io/courses/getting-started-with-redux)
- [Immer](https://immerjs.github.io/immer/)
- [Introducing Immer: Immutability the easy way](https://medium.com/hackernoon/introducing-immer-immutability-the-easy-way-9d73d8f71cb3)
- [Deep dive to immer](https://hmos.dev/en/deep-dive-to-immer)
- [Tanstack Query](https://tanstack.com/query/)
- [Tanner Linsley – Let's Build React Query in 150 Lines of Code! (React Summit Remote Edition 2021)](https://youtu.be/9SrIirrnwk0)
- [TkDodo's blog - Inside React Query](https://tkdodo.eu/blog/inside-react-query)
- Other Python implementations of Redux publicly available on GitHub:
- [usrlocalben/pydux](https://github.com/usrlocalben/pydux) ⭐ 113
- [ebrakke/python-redux](https://github.com/ebrakke/python-redux) ⭐ 32
- [kasbah/aioredux](https://github.com/kasbah/aioredux) ⭐ 22
- [Carsten-Leue/ReduxPY](https://github.com/Carsten-Leue/ReduxPY) ⭐ 14
- [peterpeter5/pyredux](https://github.com/peterpeter5/pyredux) ⭐ 12
- [avilior/reduxpy](https://github.com/avilior/reduxpy)
- [RookieGameDevs/revived](https://github.com/RookieGameDevs/revived) ⭐ 12
- [sassanh/python-redux](https://github.com/sassanh/python-redux) ⭐ 2
- [xdusongwei/redux-python](https://github.com/xdusongwei/redux-python) ⭐ 1
- [CCI-Tools/redux](https://github.com/CCI-Tools/redux)
- [pandafeeder/redux-python](https://github.com/pandafeeder/redux-python)
- [Jumballaya/pubsub.py](https://github.com/Jumballaya/pubsub.py)
- [thewhitepill/rstore](https://github.com/thewhitepill/rstore)
- [immijimmi/managedstate](https://github.com/immijimmi/managedstate)