mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
* fix webcomponent example issue #7056 * update fix issue #7056, remove unused web component callbacks
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
|
||||
// Define WebComponent
|
||||
var proto = Object.create(HTMLElement.prototype, {
|
||||
createdCallback: {
|
||||
attachedCallback: {
|
||||
value: function() {
|
||||
var mountPoint = document.createElement('span');
|
||||
this.createShadowRoot().appendChild(mountPoint);
|
||||
|
||||
Reference in New Issue
Block a user