File tree Expand file tree Collapse file tree 3 files changed +3
-7
lines changed Expand file tree Collapse file tree 3 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ Don't forget to remove deprecated code on each major release!
2323
2424### [ 5.2.1] - 2025-01-10
2525
26+ ### Changed
27+
2628- Use the latest version of ` @reactpy/client ` which includes a fix for needless client-side component re-creation.
2729
2830### [ 5.2.0] - 2024-12-29
Original file line number Diff line number Diff line change 11import { h , render } from "https://unpkg.com/preact?module" ;
2- import htm from "https://unpkg.com/htm?module" ;
3-
4- const html = htm . bind ( h ) ;
52
63export function bind ( node , config ) {
74 return {
@@ -16,9 +13,6 @@ export function SimpleButton(props) {
1613 "button" ,
1714 {
1815 id : props . id ,
19- onClick ( event ) {
20- props . onClick ( { data : props . eventResponseData } ) ;
21- } ,
2216 } ,
2317 "simple button" ,
2418 ) ;
Original file line number Diff line number Diff line change @@ -218,7 +218,7 @@ def test_component_session_exists(self):
218218 @navigate_to_page ("/" )
219219 def test_component_session_missing (self ):
220220 """No session should exist for components that don't have args/kwargs."""
221- component = self .page .locator ("#button-from-js-module " )
221+ component = self .page .locator ("#use-scope " )
222222 component .wait_for ()
223223 parent = component .locator (".." )
224224 session_id = parent .get_attribute ("id" )
You can’t perform that action at this time.
0 commit comments