Pedram Emrouznejad
Pedram Emrouznejad
From experience of [using vanilla Web Components in a React-like architecture](https://github.com/websdk/vanilla#vanilla), a few humble suggestions: - Don't spray props directly onto the element, do something like `Object.assign(element.props, props)` instead. This...
+1 for `domEvents` example, but would prefer just `events`.
> It wasn't clear from the original thread what the use cases were. @pemrouze just said it would be nice, then people started discussing how. We never even talked about...
It's unfortunately [notoriously difficult](https://stackoverflow.com/questions/44935865/detect-when-a-node-is-deleted-or-removed-from-the-dom-because-a-parent-was) to do with MutationObserver, and pretty much guaranteed to be buggy (due to it being batched) and inefficient (having to watch every change on the entire...
@domenic any more thoughts?
Dropping [these lines](https://github.com/alangpierce/sucrase/blob/15debf701596bd2a1d7564d8f1e147da357dfb56/src/transformers/RootTransformer.ts#L128-L131) also worked for me. @alangpierce, would you be open to dropping this now since it's in engines?
I think in general most people would expect this to resolve similar to how `require` resolves. The specific use case is that I have a [bunch](https://github.com/rijs/serve/blob/master/package.json#L5) [of](https://github.com/rijs/resdir/blob/master/package.json#L5) [modules](https://github.com/rijs/sessions/blob/master/package.json#L5) that I...
@defunctzombie - any more thoughts on this?
Thanks for the direction @defunctzombie 👍 Opened PRs https://github.com/defunctzombie/node-browser-resolve/pull/84 and https://github.com/defunctzombie/package-browser-field-spec/pull/6
bumping.. is there anything else required before we can land this? @sokra, @rich-harris: do you make use of node-browser-resolve too or do we need to patch something else?