Replies: 1 comment 15 replies
-
Setting of theme to dark in rx.App seems to be ignored in the v0.6.8a1 release (I just upgraded from v0.6.7 where it was working) This is the code I'm using: app = rx.App(
theme=rx.theme(
color_mode="dark",
has_background=True,
radius="large",
accent_color="blue",
),
) Interestingly the |
Beta Was this translation helpful? Give feedback.
15 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Please report any problems you encounter in this discussion thread or as separate issues on reflex-dev/reflex.
pip install 'reflex~=0.6.8a'
This is expected to be the last 0.6.x feature release before breaking changes are introduced in 0.7.0
Schedule
2025-01-07 17:20 PST: 0.6.8a1 pre-release published for testing
2025-01-09: Planned Public release of 0.6.8
Release Notes
New Features
New API:
rx.EventChain.create
This new interface makes it easier to transform
EventType
(EventHandler
,EventSpec
, andlambda
- as accepted by component event triggers) intoEventChain
to be rendered in hook calls orrx.call_script
/rx.call_function
invocations.New API:
BaseState.get_var_value
Similar to
get_state
, this API provides access to a Var defined in another state. If the value is mutable, changing it will be reflected in the other state. This API is intended for use withComponentState
implementations that want to "borrow" data from another state.Show Example Code
Improvements
Add
.endswith()
var operation for stringsendswith
method to String class by @5quinque in Addendswith
method to String class #4577Simpler API for
rx._x.client_state
Use client state vars anywhere in the tree instead of having to include them and use them separately.
Support Recursive UI elements with
@rx.memo
See example code in PR. This allows the rendering of trees and other self-referential structures using
rx.foreach
.Performance
Miscellaneous
Bug Fixes
expire_on_commit=False
for async sessions by @masenf in Addexpire_on_commit=False
for async sessions #4582callback
argument to be added afterwards by @masenf in Do not allow call_functioncallback
argument to be added afterwards #4552rx.download
to resolverx.get_upload_url
by @masenf in [ENG-2157] [Refix] Allowrx.download
to resolverx.get_upload_url
#4470Version Bumps
Documentation
Other Changes
New Contributors
endswith
method to String class #4577Full Changelog: v0.6.7...release/reflex-0.6.8
Beta Was this translation helpful? Give feedback.
All reactions