File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,10 @@ All notable changes to shinywidgets will be documented in this file.
5
5
The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
6
6
and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
7
7
8
+ ## [ UNRELEASED]
9
+
10
+ * Fixed an issue introduced by v0.6.0 where cleanup not happening when it should. (#195 )
11
+
8
12
## [ 0.6.0] - 2025-05-19
9
13
10
14
* Widgets initialized inside a ` reactive.effect() ` are no longer automatically removed when the effect invalidates. (#191 )
Original file line number Diff line number Diff line change @@ -71,7 +71,10 @@ def __init__(
71
71
72
72
async def render (self ) -> Jsonifiable | None :
73
73
with WidgetRenderContext (self .output_id ):
74
- value = await self .fn ()
74
+ return await self ._render ()
75
+
76
+ async def _render (self ) -> Jsonifiable | None :
77
+ value = await self .fn ()
75
78
76
79
# Attach value/widget attributes to user func so they can be accessed (in other reactive contexts)
77
80
self ._value = value
You can’t perform that action at this time.
0 commit comments