add note to self

pull/7738/head
Rich Harris 8 years ago
parent eeb0e18a94
commit 16aade0e49

@ -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