@streamline-pulse/formkrafter-react 0.34.0 → 0.36.0

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.
Files changed (2) hide show
  1. package/README.md +2 -0
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -61,6 +61,8 @@ function Page() {
61
61
  }
62
62
  ```
63
63
 
64
+ Lazy-loading the form also keeps FormKrafter out of the page's first load: importing `FkFormRender` costs about 155 KB gzipped before the form shows, the same as importing every component (measured figures in the [web components README](../wc/README.md#bundle-size)).
65
+
64
66
  Server-side, validate submissions with the isomorphic core instead:
65
67
 
66
68
  ```ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamline-pulse/formkrafter-react",
3
- "version": "0.34.0",
3
+ "version": "0.36.0",
4
4
  "description": "React bindings for FormKrafter web components",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -30,7 +30,7 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "@stencil/react-output-target": "^1.6.1",
33
- "@streamline-pulse/formkrafter-wc": "0.34.0"
33
+ "@streamline-pulse/formkrafter-wc": "0.36.0"
34
34
  },
35
35
  "peerDependencies": {
36
36
  "react": "^18.0.0 || ^19.0.0"