Skip to content

Commit

Permalink
add internal state to components
Browse files Browse the repository at this point in the history
  • Loading branch information
dmonad committed Jan 14, 2020
1 parent 0f39e95 commit 6c8c9df
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions component.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,10 @@ export const createComponent = (name, { template, style = '', state, onStateChan
*/
this._childStates = []
this._init = false
/**
* @type {any}
*/
this._internal = {}
/**
* @type {any}
*/
Expand Down

0 comments on commit 6c8c9df

Please sign in to comment.