add note to self

pull/1344/head
Rich Harris 7 years ago
parent 20b940a73a
commit 43ea6bdf28

@ -275,6 +275,7 @@ export default class Component extends Node {
hasStoreBindings && 'newStoreState = {}',
].filter(Boolean).join(', ');
// TODO use component.on('state', ...) instead of _bind
componentInitProperties.push(deindent`
_bind: function(changed, childState) {
var ${initialisers};

Loading…
Cancel
Save