@textbus/adapter-react 4.0.0-alpha.37 → 4.0.0-alpha.38

Sign up to get free protection for your applications and to get access to all the features.
@@ -42,6 +42,7 @@ class Adapter extends DomAdapter {
42
42
  useEffect(() => {
43
43
  this.onViewUpdated.next();
44
44
  }, [updateKey]);
45
+ component.__slots__.forEach(i => this.renderedSlotCache.delete(i));
45
46
  component.__slots__.length = 0;
46
47
  this.componentRendingStack.push(component);
47
48
  const vNode = components[key]({
package/bundles/index.js CHANGED
@@ -44,6 +44,7 @@ class Adapter extends platformBrowser.DomAdapter {
44
44
  react.useEffect(() => {
45
45
  this.onViewUpdated.next();
46
46
  }, [updateKey]);
47
+ component.__slots__.forEach(i => this.renderedSlotCache.delete(i));
47
48
  component.__slots__.length = 0;
48
49
  this.componentRendingStack.push(component);
49
50
  const vNode = components[key]({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@textbus/adapter-react",
3
- "version": "4.0.0-alpha.37",
3
+ "version": "4.0.0-alpha.38",
4
4
  "description": "Textbus is a rich text editor and framework that is highly customizable and extensible to achieve rich wysiwyg effects.",
5
5
  "main": "./bundles/index.js",
6
6
  "module": "./bundles/index.esm.js",
@@ -26,8 +26,8 @@
26
26
  ],
27
27
  "dependencies": {
28
28
  "@tanbo/stream": "^1.2.3",
29
- "@textbus/core": "^4.0.0-alpha.37",
30
- "@textbus/platform-browser": "^4.0.0-alpha.37",
29
+ "@textbus/core": "^4.0.0-alpha.38",
30
+ "@textbus/platform-browser": "^4.0.0-alpha.38",
31
31
  "react": "^17.0.0 || ^18.0.0"
32
32
  },
33
33
  "devDependencies": {
@@ -49,5 +49,5 @@
49
49
  "bugs": {
50
50
  "url": "https://github.com/textbus/textbus.git/issues"
51
51
  },
52
- "gitHead": "7a67eda8ef99b52bbc356002ca3396d64b6c1e89"
52
+ "gitHead": "6fd37c779309331bbe5ef1b93b2c3d0d47735636"
53
53
  }