reflex
reflex copied to clipboard
πΈοΈ Web apps in pure Python π
**Describe the bug** When characters such as Chinese characters and Hangul are initially rendered, they are converted into invalid characters and entered in index.js. Therefore, a stream did not contain...
Currently you can do something like this: ``` app = pc.App(state=MyState) @app.api.get("/items/{item_id}") async def api_test(item_id: int): return {"my_result": item_id} app.compile() ``` We can introduce a new method to allow this...
**Describe the bug** Debug logs don't work in prod mode. **To Reproduce** `pc run --loglevel debug --env prod` **Expected behavior** I should see the debug logs, but I don't. **Screenshots**...
As discussed on discord. Little PoC: ```python """Welcome to Pynecone! This file outlines the steps to create a basic app.""" from pcconfig import config import pynecone as pc from typing...
#200 - Add Echarts Component to `./components/graphing/echarts.py` - Add import to `./components/graphing/__init__.py` - Add dependencies `"echarts": "^5.4.1", "echarts-for-react": "^3.0.2", "fast-deep-equal": "^3.1.3",` to `./.templates/web/package.json` Notice: 1. `echarts` is under Apache License...
**Describe the bug** `pd.DataFrame` type is not supported for State **To Reproduce** ```python class State(pc.State): data: pd.DataFrame ``` **Error Message** ```bash $ TypeError: State vars must be primitive Python types,...
**Describe the bug** The websocket connection is inconsistent on mobile sometimes for Safari/iOS. **To Reproduce** See related issue: https://github.com/HeinrichApfelmus/threepenny-gui/issues/130 **Expected behavior** The connection should be resilient and reconnect when dropped.
We should be able to do something like ```python pc.button( "hello", color=pc.cond(State.condition, "red", "green") ) ``` Currently the only way to achieve this is to do ```python pc.cond( State.condition, pc.button(color="red"),...
**Question** Can I empty the input after submission? Stale text remains in the input form after submission.
**Describe the bug** When the main `pc` command exits, sometimes output still continues to be generated by subprocesses that the command launches. A symptom of this is that the ports...