File tree 3 files changed +3
-7
lines changed
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!
23
23
24
24
### [ 5.2.1] - 2025-01-10
25
25
26
+ ### Changed
27
+
26
28
- Use the latest version of ` @reactpy/client ` which includes a fix for needless client-side component re-creation.
27
29
28
30
### [ 5.2.0] - 2024-12-29
Original file line number Diff line number Diff line change 1
1
import { h , render } from "https://unpkg.com/preact?module" ;
2
- import htm from "https://unpkg.com/htm?module" ;
3
-
4
- const html = htm . bind ( h ) ;
5
2
6
3
export function bind ( node , config ) {
7
4
return {
@@ -16,9 +13,6 @@ export function SimpleButton(props) {
16
13
"button" ,
17
14
{
18
15
id : props . id ,
19
- onClick ( event ) {
20
- props . onClick ( { data : props . eventResponseData } ) ;
21
- } ,
22
16
} ,
23
17
"simple button" ,
24
18
) ;
Original file line number Diff line number Diff line change @@ -218,7 +218,7 @@ def test_component_session_exists(self):
218
218
@navigate_to_page ("/" )
219
219
def test_component_session_missing (self ):
220
220
"""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 " )
222
222
component .wait_for ()
223
223
parent = component .locator (".." )
224
224
session_id = parent .get_attribute ("id" )
You can’t perform that action at this time.
0 commit comments