@tramvai/module-child-app 1.64.0 → 1.65.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 +6 -2
  2. package/package.json +9 -9
package/README.md CHANGED
@@ -125,11 +125,15 @@ State Management is almost completely isolated from root-app and other of child-
125
125
 
126
126
  State for child-apps will be dehydrated on server as separate variable in the result html and then will be automatically rehydrated on client for every child-app.
127
127
 
128
- :::warning Usually child-app cannot read data from root-app stores, but the dangerous workaround that allows to subscribe on any root-app store exists.
128
+ :::warning
129
+
130
+ Usually child-app cannot read data from root-app stores, but the dangerous workaround that allows to subscribe on any root-app store exists.
129
131
 
130
132
  It may be done using `CHILD_APP_ROOT_STATE_SUBSCRIPTION_TOKEN` token.
131
133
 
132
- This token is considered dangerous as it leads to high coupling with stores from root-app and this way stores in root-app might not change their public interface. But, in most cases, changes in stores ignore breaking change tracking and often breaks backward-compatibility. So **do not use this token if you can**, and if you should - use as little as possible from root-app and provide some fallback in case of wrong data. :::
134
+ This token is considered dangerous as it leads to high coupling with stores from root-app and this way stores in root-app might not change their public interface. But, in most cases, changes in stores ignore breaking change tracking and often breaks backward-compatibility. So **do not use this token if you can**, and if you should - use as little as possible from root-app and provide some fallback in case of wrong data.
135
+
136
+ :::
133
137
 
134
138
  ## API
135
139
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tramvai/module-child-app",
3
- "version": "1.64.0",
3
+ "version": "1.65.0",
4
4
  "description": "Module for child apps",
5
5
  "browser": {
6
6
  "./lib/server.js": "./lib/browser.js",
@@ -30,20 +30,20 @@
30
30
  "@tinkoff/env-validators": "0.0.3",
31
31
  "@tinkoff/module-loader-client": "0.3.25",
32
32
  "@tinkoff/module-loader-server": "0.4.41",
33
- "@tramvai/child-app-core": "1.64.0",
33
+ "@tramvai/child-app-core": "1.65.0",
34
34
  "@tramvai/safe-strings": "0.4.3",
35
- "@tramvai/tokens-child-app": "1.64.0"
35
+ "@tramvai/tokens-child-app": "1.65.0"
36
36
  },
37
37
  "devDependencies": {},
38
38
  "peerDependencies": {
39
39
  "@tinkoff/dippy": "0.7.38",
40
40
  "@tinkoff/utils": "^2.1.2",
41
- "@tramvai/core": "1.64.0",
42
- "@tramvai/state": "1.64.0",
43
- "@tramvai/react": "1.64.0",
44
- "@tramvai/tokens-common": "1.64.0",
45
- "@tramvai/tokens-render": "1.64.0",
46
- "@tramvai/tokens-router": "1.64.0",
41
+ "@tramvai/core": "1.65.0",
42
+ "@tramvai/state": "1.65.0",
43
+ "@tramvai/react": "1.65.0",
44
+ "@tramvai/tokens-common": "1.65.0",
45
+ "@tramvai/tokens-render": "1.65.0",
46
+ "@tramvai/tokens-router": "1.65.0",
47
47
  "react": ">=16.8.0",
48
48
  "react-dom": ">=16.8.0",
49
49
  "object-assign": "^4.1.1",