@xwadex/fesd-next 0.1.62 → 0.1.63

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,8 +6,9 @@ var jsx_runtime_1 = require("react/jsx-runtime");
6
6
  var react_1 = require("react");
7
7
  function MyClientComponent(_a) {
8
8
  var name = _a.name;
9
+ var _b = (0, react_1.useState)(0), state = _b[0], setstate = _b[1];
9
10
  (0, react_1.useEffect)(function () {
10
11
  console.log('hello!');
11
12
  }, []);
12
- return (0, jsx_runtime_1.jsxs)("div", { children: ["This is the component, name :", (0, jsx_runtime_1.jsx)("span", { children: name !== null && name !== void 0 ? name : "empty" })] });
13
+ return (0, jsx_runtime_1.jsxs)("div", { children: ["This is the component, name :", (0, jsx_runtime_1.jsx)("span", { children: name !== null && name !== void 0 ? name : "empty" }), (0, jsx_runtime_1.jsx)("span", { children: state }), (0, jsx_runtime_1.jsx)("button", { onClick: function () { return setstate(function (prev) { return prev + 1; }); }, children: "+" })] });
13
14
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xwadex/fesd-next",
3
- "version": "0.1.62",
3
+ "version": "0.1.63",
4
4
  "main": "./index.js",
5
5
  "files": ["./"],
6
6
  "exports": {