@textbus/adapter-react 4.0.0-alpha.31 → 4.0.0-alpha.32

Sign up to get free protection for your applications and to get access to all the features.
@@ -55,7 +55,9 @@ class Adapter extends DomAdapter {
55
55
  }
56
56
  }
57
57
  });
58
- this.componentRendingStack.pop();
58
+ useEffect(() => {
59
+ this.componentRendingStack.pop();
60
+ });
59
61
  return vNode;
60
62
  };
61
63
  });
package/bundles/index.js CHANGED
@@ -57,7 +57,9 @@ class Adapter extends platformBrowser.DomAdapter {
57
57
  }
58
58
  }
59
59
  });
60
- this.componentRendingStack.pop();
60
+ react.useEffect(() => {
61
+ this.componentRendingStack.pop();
62
+ });
61
63
  return vNode;
62
64
  };
63
65
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@textbus/adapter-react",
3
- "version": "4.0.0-alpha.31",
3
+ "version": "4.0.0-alpha.32",
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",
@@ -27,7 +27,7 @@
27
27
  "dependencies": {
28
28
  "@tanbo/stream": "^1.2.3",
29
29
  "@textbus/core": "^4.0.0-alpha.31",
30
- "@textbus/platform-browser": "^4.0.0-alpha.31",
30
+ "@textbus/platform-browser": "^4.0.0-alpha.32",
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": "54c13967d549e9c3795eb821d84ce3e811139630"
52
+ "gitHead": "00d52c23dde48068e14e46379b85ddac0743c6ff"
53
53
  }