- From: Ryosuke Niwa <notifications@github.com>
- Date: Mon, 11 Dec 2017 13:54:35 -0800
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 11 December 2017 21:55:12 UTC
I think I would have preferred to have a top-level object instead of returning a dictionary in `instantiate`. e.g.
```js
const instance = factory.instantiate({ name: 'world' });
document.body.appendChild(content);
instance.update({ name: 'Jane' });
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/685#issuecomment-350870876
Received on Monday, 11 December 2017 21:55:12 UTC