diff --git a/docs/web/chunk-2ZES6QAY.mjs b/docs/web/chunk-2FNPKSAA.mjs similarity index 68% rename from docs/web/chunk-2ZES6QAY.mjs rename to docs/web/chunk-2FNPKSAA.mjs index c579e97..cc5fb83 100644 --- a/docs/web/chunk-2ZES6QAY.mjs +++ b/docs/web/chunk-2FNPKSAA.mjs @@ -48,7 +48,7 @@ var ClassicalComponent = class extends import_react.default.Component { }; } render() { - return /* @__PURE__ */ import_react.default.createElement("div", { style: { border: "3px solid green" } }, /* @__PURE__ */ import_react.default.createElement("h1", { id: "theHeader" }, "Hello Marcus"), /* @__PURE__ */ import_react.default.createElement("pre", { id: "theProps" }, JSON.stringify(this.props)), /* @__PURE__ */ import_react.default.createElement("p", null, "foo: ", this.props.foo), /* @__PURE__ */ import_react.default.createElement("pre", { id: "theStat" }, JSON.stringify(this.state)), /* @__PURE__ */ import_react.default.createElement("p", null, "count: ", this.state.count, " times"), /* @__PURE__ */ import_react.default.createElement("button", { id: "theButton", onClick: async () => { + return /* @__PURE__ */ import_react.default.createElement("div", { style: { border: "3px solid red" } }, /* @__PURE__ */ import_react.default.createElement("h1", { id: "theHeader" }, "Hello Marcus"), /* @__PURE__ */ import_react.default.createElement("pre", { id: "theProps" }, JSON.stringify(this.props)), /* @__PURE__ */ import_react.default.createElement("p", null, "foo: ", this.props.foo), /* @__PURE__ */ import_react.default.createElement("pre", { id: "theStat" }, JSON.stringify(this.state)), /* @__PURE__ */ import_react.default.createElement("p", null, "count: ", this.state.count, " times"), /* @__PURE__ */ import_react.default.createElement("button", { id: "theButton", onClick: async () => { this.setState({ count: this.state.count + 1 }); } }, "Click")); } diff --git a/docs/web/src/ClassicalComponent/react-dom/client.web.test.mjs b/docs/web/src/ClassicalComponent/react-dom/client.web.test.mjs index 8742860..2f3ce32 100644 --- a/docs/web/src/ClassicalComponent/react-dom/client.web.test.mjs +++ b/docs/web/src/ClassicalComponent/react-dom/client.web.test.mjs @@ -7,7 +7,7 @@ import { import { ClassicalComponent, require_client -} from "../../../chunk-2ZES6QAY.mjs"; +} from "../../../chunk-2FNPKSAA.mjs"; import { require_react } from "../../../chunk-JE6WFJZI.mjs"; diff --git a/docs/web/src/ClassicalComponent/react-dom/client.web.test/suite-0/given-test0/afterEach/afterEachLog.jpg b/docs/web/src/ClassicalComponent/react-dom/client.web.test/suite-0/given-test0/afterEach/afterEachLog.jpg index 45b0abe..385af26 100644 Binary files a/docs/web/src/ClassicalComponent/react-dom/client.web.test/suite-0/given-test0/afterEach/afterEachLog.jpg and b/docs/web/src/ClassicalComponent/react-dom/client.web.test/suite-0/given-test0/afterEach/afterEachLog.jpg differ diff --git a/docs/web/src/ClassicalComponent/react-dom/client.web.test/suite-0/given-test1/afterEach/afterEachLog.jpg b/docs/web/src/ClassicalComponent/react-dom/client.web.test/suite-0/given-test1/afterEach/afterEachLog.jpg index 874f301..f834588 100644 Binary files a/docs/web/src/ClassicalComponent/react-dom/client.web.test/suite-0/given-test1/afterEach/afterEachLog.jpg and b/docs/web/src/ClassicalComponent/react-dom/client.web.test/suite-0/given-test1/afterEach/afterEachLog.jpg differ diff --git a/docs/web/src/ClassicalComponent/react-dom/client.web.test/suite-0/given-test2/afterEach/afterEachLog.jpg b/docs/web/src/ClassicalComponent/react-dom/client.web.test/suite-0/given-test2/afterEach/afterEachLog.jpg index c975afc..ea2101b 100644 Binary files a/docs/web/src/ClassicalComponent/react-dom/client.web.test/suite-0/given-test2/afterEach/afterEachLog.jpg and b/docs/web/src/ClassicalComponent/react-dom/client.web.test/suite-0/given-test2/afterEach/afterEachLog.jpg differ diff --git a/docs/web/src/ClassicalComponent/react-dom/client.web.test/suite-0/given-test3/afterEach/afterEachLog.jpg b/docs/web/src/ClassicalComponent/react-dom/client.web.test/suite-0/given-test3/afterEach/afterEachLog.jpg index 6508ce5..35336eb 100644 Binary files a/docs/web/src/ClassicalComponent/react-dom/client.web.test/suite-0/given-test3/afterEach/afterEachLog.jpg and b/docs/web/src/ClassicalComponent/react-dom/client.web.test/suite-0/given-test3/afterEach/afterEachLog.jpg differ diff --git a/docs/web/src/ClassicalComponent/test.mjs b/docs/web/src/ClassicalComponent/test.mjs index 92ebbaf..5961406 100644 --- a/docs/web/src/ClassicalComponent/test.mjs +++ b/docs/web/src/ClassicalComponent/test.mjs @@ -1,7 +1,7 @@ import { ClassicalComponent, require_client -} from "../../chunk-2ZES6QAY.mjs"; +} from "../../chunk-2FNPKSAA.mjs"; import { require_react } from "../../chunk-JE6WFJZI.mjs"; diff --git a/src/ClassicalComponent/index.tsx b/src/ClassicalComponent/index.tsx index 8d0447a..7db6640 100644 --- a/src/ClassicalComponent/index.tsx +++ b/src/ClassicalComponent/index.tsx @@ -14,7 +14,7 @@ export class ClassicalComponent extends React.Component { render() { return ( -
+

Hello Marcus

{JSON.stringify(this.props)}

foo: {this.props.foo}