Skip to content

Commit 923e309

Browse files
authored
Add missing changelog header (#279)
1 parent 27e8ef0 commit 923e309

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

Diff for: CHANGELOG.md

+2
Original file line numberDiff line numberDiff 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

Diff for: tests/test_app/tests/js/button-from-js-module.js

-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
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);
52

63
export 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
);

Diff for: tests/test_app/tests/test_components.py

+1-1
Original file line numberDiff line numberDiff 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")

0 commit comments

Comments
 (0)