reactpy
reactpy copied to clipboard
It's React, but in Python
## Summary **Live preview:** https://reactive-python.github.io/reactpy/ This PR is a rewrite of our documentation to imitate [React's documentation](https://react.dev). Additionally, this switches us from `sphinx` to `mkdocs` as a documentation tool. Sections...
### Current Situation This issue was first discovered while trying to develop https://github.com/reactive-python/reactpy-django/pull/226 I created a component that simulates a `list` of conditionally rendered children. Each child in the list...
### Current Situation Right now `use_effect(..., dependencies=None)` triggers **AND** cleans up on every render. But there are circumstances where I need some conditions checked (such as within ReactPy Django's `django_css`...
### Current Situation Right now, the `event_to_object` JS package within this repo manually declares every attribute that is serializable. This is primarily to prevent infinite recursive serialization of events. As...
By submitting this pull request you agree that all contributions to this project are made under the MIT license. ## Issues Closes: https://github.com/reactive-python/reactpy/discussions/1180 Closes: https://github.com/reactive-python/reactpy/pull/1183 ## Solution Create a link...
### Current Situation The `value` for any serialized checkbox or radio button is always `on` when viewed within an `event["target"]`. This effectively makes them unusable within a form's `on_submit` event....
### Current Situation The `name` attribute is used to identify what field the input actually is. Currently, we do not serialize this attribute which makes it unusually difficult to handle...
By submitting this pull request you agree that all contributions to this project are made under the MIT license. ## Issues Closes: https://github.com/reactive-python/reactpy/issues/956 ## Solution Effects can now be defines...
*By submitting this pull request you agree that all contributions to this project are made under the MIT license.* ## Issues - fix #653 ## Summary Adds template tag support...
### Current Situation Looks like some changes to the latest versions of `anyio` fundamentally breaks how we currently spawn our backends. ```bash Exception in thread Thread-3 (run_dispatcher): Traceback (most recent...