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.
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
66and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
77
8+ ## [ UNRELEASED]
9+
10+ * Fixed an issue introduced by v0.6.0 where cleanup not happening when it should. (#195 )
11+
812## [ 0.6.0] - 2025-05-19
913
1014* 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__(
7171
7272 async def render (self ) -> Jsonifiable | None :
7373 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 ()
7578
7679 # Attach value/widget attributes to user func so they can be accessed (in other reactive contexts)
7780 self ._value = value
You can’t perform that action at this time.
0 commit comments