Julian Gruber

Results 317 comments of Julian Gruber

Can you share more about your setup? Did you follow this tutorial https://github.com/juliangruber/tape-run#with-webpack?

Could you share your test file too?

Sure! With `.isSameNode` you can do stuff like ```js component.render = () => { if (!this.shouldUpdate()) { const el = document.createElement('div') el.isSameNode = (e) => e === el return el...

great point actually, i'll investigate this

I would be happy to be able to pass a custom comparator function too

My temporary fix is to cancel the operation if it doesn't return in the same tick.

this seems to work well: ``` js const normalize = p => path.resolve('/', p) ``` Normalizes like this: - `/` -> `/` - `.` -> `/` - `./foo` -> `/foo`...

in sparse mode afaik the content hashes are known beforehand

Same with `mount`: ```bash $ hyperdrive mount › Error: Missing 1 required arg: › path The path where the drive will be mounted (must be within ~/Hyperdrive) › See more...