MyGit

v0.3.2

reflex-dev/reflex

版本发布时间: 2023-11-04 08:13:11

reflex-dev/reflex最新发布版本:v0.3.3(2023-11-16 03:29:40)

Thank you to our wonderful users and contributors! :clap: :tada:

New Features

Expose stop_propagation and prevent_default on Event Handlers

When an event trigger should not propagate to DOM elements nested below it use .stop_propagation.

When an event action should override the browser default (like following a link), use .prevent_default.

Each of these "event actions" will trigger the frontend to call the corresponding method on the DOM event associated with the event trigger. Both actions may be applied to the same event handler.

Gunicorn Worker Class

The gunicorn_worker_class may be specified in rxconfig.py to configure low-level uvicorn settings when running in prod mode. See example in dicussion #2070.

Components can be passed as props

Components can now accept props with type Var[Component], which allows for greater customization of components and greater flexibility when wrapping third-party components.

This only works for static components passed at compile-time. Components cannot be used in a State Var.

Github Codespaces

Creating a codespace from the reflex repo is now supported. Be sure to open the Backend URL in the browser first (or mark the port as Public) to allow the frontend to access the backend via websocket.

Improvements

Add orientation prop to rx.stepper

Add column resize for data editor

Doc fixups

Template Improvements

Hosting Service CLI

Other Improvements

Bug Fixes

README Translations

New Contributors

Full Changelog: https://github.com/reflex-dev/reflex/compare/v0.3.1...v0.3.2

相关地址:原始地址 下载(tar) 下载(zip)

查看:2023-11-04发行的版本