Ernest

Results 22 comments of Ernest

Hi all, I just wrote some packages related to this problem. This approach is similar to the `react-inject-env` above, but also works to: 1. Webpack, Vite, Rollup projects (powered by...

```js // O(n) const flat = function(array) { let tail = [] let index = 0 while (0 < array.length) { let elem = array.pop() if (Array.isArray(elem)) { array.push(...elem) }...

In order to remain the whole states (e.g., `$dirty`), we should call `$touch` on dirty items only. Just mixin this ```js methods: { async removeArrayItem (prop, removeAt, callback) { const...

Thanks. To add custom element would be a key feature, but there should remain the mount method, due to somebody would want to mount to existing node or do something...