Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ Don't forget to remove deprecated code on each major release!

### [5.2.1] - 2025-01-10

### Changed

- Use the latest version of `@reactpy/client` which includes a fix for needless client-side component re-creation.

### [5.2.0] - 2024-12-29
Expand Down
6 changes: 0 additions & 6 deletions tests/test_app/tests/js/button-from-js-module.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
import { h, render } from "https://unpkg.com/preact?module";
import htm from "https://unpkg.com/htm?module";

const html = htm.bind(h);

export function bind(node, config) {
return {
Expand All @@ -16,9 +13,6 @@ export function SimpleButton(props) {
"button",
{
id: props.id,
onClick(event) {
props.onClick({ data: props.eventResponseData });
},
},
"simple button",
);
Expand Down
2 changes: 1 addition & 1 deletion tests/test_app/tests/test_components.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def test_component_session_exists(self):
@navigate_to_page("/")
def test_component_session_missing(self):
"""No session should exist for components that don't have args/kwargs."""
component = self.page.locator("#button-from-js-module")
component = self.page.locator("#use-scope")
component.wait_for()
parent = component.locator("..")
session_id = parent.get_attribute("id")
Expand Down
Loading