@croct/plug-react 0.3.0 → 0.4.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 +3 -2
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -163,8 +163,9 @@ user's profile.
163
163
 
164
164
  #### Fault tolerance
165
165
 
166
- We strongly recommend always specifying the `fallback` property to ensure your app behaves the same way regardless of
167
- the personalization. In this way, the UI will still be fully functional even in maintenance windows.
166
+ We strongly recommend specifying the `fallback` property in client-side rendered applications to ensure your app behaves
167
+ the same way regardless of the personalization. In this way, the UI will still be fully functional even in maintenance
168
+ windows. **Specifying a `fallback` is required for server-side rendering (SSR).**
168
169
 
169
170
  The following example shows how you can specify a fallback behaviour for the docs link:
170
171
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@croct/plug-react",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "React components and hooks to plug your React applications into Croct.",
5
5
  "author": {
6
6
  "name": "Croct",
@@ -38,7 +38,7 @@
38
38
  "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
39
39
  },
40
40
  "dependencies": {
41
- "@croct/plug": "^0.9.0"
41
+ "@croct/plug": "^0.10.0"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@babel/core": "^7.13.13",