Commit 8efc8f3 1 parent 4054d4b commit 8efc8f3 Copy full SHA for 8efc8f3
File tree 1 file changed +7
-6
lines changed
src/client/scripts/private/mixins
1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 1
1
/*************************************
2
2
* BASE MIXIN (for all rb-components)
3
3
*************************************/
4
- import { props , withComponent } from '../../../../../skatejs/dist/esnext/index.js' ;
5
- import { html , render } from '../../../../../lit-html/lit-html.js' ;
6
- import EventService from '../../private/services/event.js' ;
7
- import ViewService from '../../private/services/view.js' ;
8
- import Styles from '../../private/services/styles.js' ;
4
+ import { withRenderer } from '../../../../../skatejs/dist/esnext/with-renderer.js' ;
5
+ import { props , withUpdate } from '../../../../../skatejs/dist/esnext/with-update.js' ;
6
+ import { html , render } from '../../../../../lit-html/lit-html.js' ;
7
+ import EventService from '../../private/services/event.js' ;
8
+ import ViewService from '../../private/services/view.js' ;
9
+ import Styles from '../../private/services/styles.js' ;
9
10
Styles . addUtils ( ) ; // only runs once
10
11
11
- const Base = ( BaseElm = HTMLElement ) => class extends withComponent ( BaseElm ) {
12
+ const Base = ( BaseElm = HTMLElement ) => class extends withUpdate ( withRenderer ( BaseElm ) ) {
12
13
/* Lifecycle
13
14
************/
14
15
constructor ( ) { // :void
You can’t perform that action at this time.
0 commit comments