File tree Expand file tree Collapse file tree 3 files changed +14
-1
lines changed
Expand file tree Collapse file tree 3 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,10 @@ class CustomElement extends HTMLElement {
1111 mountPoint : any
1212 // componentAttributes = {}; // TODO: add example of usage
1313 // componentProperties = {}; // TODO: add example of usage
14+ constructor ( ) {
15+ super ( ) ;
1416
17+ }
1518 connectedCallback ( ) {
1619 this . update ( ) ;
1720 }
Original file line number Diff line number Diff line change 1+ # react-webcomponenrs-playbooks
2+
3+ Example of using React and/or wrapped as Webcomponent
4+
5+ Install [ Parcel] ( https://parceljs.org/getting_started.html ) and run
6+
7+ ```
8+ npm install
9+ npm start
10+ ```
Original file line number Diff line number Diff line change 44 "description" : " " ,
55 "main" : " index.js" ,
66 "scripts" : {
7- "test " : " echo \" Error: no test specified \" && exit 1 "
7+ "start " : " parcel index.html "
88 },
99 "keywords" : [],
1010 "author" : " " ,
You can’t perform that action at this time.
0 commit comments