reactpy-django
reactpy-django copied to clipboard
It's React, but in Python. Now with Django integration.
### Current Situation I forgot to remove deprecated code from the last major release. ### Proposed Actions Remove deprecated code when possible
## Description `ReactDOM.render` is deprecated as of React 18 (see [here](https://react.dev/blog/2022/03/08/react-18-upgrade-guide#deprecations)), and removed in React 19 (see [here](https://react.dev/blog/2024/04/25/react-19-upgrade-guide#removed-reactdom-render)). This switches to the alternative, `ReactDOM.createRoot(...).render()`. ## Checklist Please update this checklist...
### Current Situation There is currently no good URL routing mechanism for pyscript components. ### Proposed Actions Create a URL router that works natively with our built-in pyscript components within...
## Description ## Checklist Please update this checklist as you complete each item: - [ ] Tests have been developed for bug fixes or new functionality. - [ ] The...
### Current Situation Sometimes `django_form` events such as `on_error` will not be executed. This appears to be caused by a race condition where the `use_effect(render_form)` hook could be cancelled prior...
### Current Situation ReactPy currently uses websockets as the primary messaging method for rendering. This can be problematic because cloud providers (such as `Azure` or `GCP`) do not keep web...
### Current Situation and Proposed Actions There are currently a few resolvable limitations of `view_to_iframe`. - [ ] No built-in method of signalling events back to the parent component. -...
### Current Situation and Proposed Actions --- The following fields are currently incompatible with `django_form` due to ReactPy's [client](https://github.com/reactive-python/reactpy-django/tree/c8b4ec08ab7c701a443e8fff8e734a5e76700857/src/js/src) and [server](https://github.com/reactive-python/reactpy-django/blob/c8b4ec08ab7c701a443e8fff8e734a5e76700857/src/reactpy_django/websocket/consumer.py) not supporting file serialization: - [ ] `FileField` -...
### Current Situation and Proposed Actions There are currently several limitations of using `view_to_component`. - [ ] Requires manual intervention to change HTTP methods to anything other than `GET`. -...
### Current Situation We currently don't run code coverage on `reactpy-django` ### Proposed Actions Add coverage tests to this repository. Thankfully this is pretty simple to do using `hatch`, as...