Jason Miller
Jason Miller
Some links to implementations/details in other tools/bundlers (more to come): - [Webpack](https://webpack.js.org/guides/package-exports) - [Rollup](https://github.com/rollup/plugins/pull/693) - [Vite](https://github.com/vitejs/vite/issues/1418#issuecomment-756349726) - [Snowpack](https://github.com/snowpackjs/snowpack/issues/2203) - [WMR](https://github.com/preactjs/wmr/blob/9fe81addf1ce4fc1117f5e059ef2d618a7e65b42/src/plugins/npm-plugin/resolve.js#L80-L125)
@integryiosama can you show how you're bundling this code? The error you provided happens when there is both a CommonJS and ES Modules version of Preact being used at the...
Starting from the Lit plugin is a great idea - I'd begun hacking on something, but quickly realized it was going to take a lot more work than I had...
@luwes seems like a useful change, and should be easy to land since its under a flag. @jviide is also working on a faster replacement for this that we believe...
I'm surprised I didn't point it out earlier, but FWIW HTM already does caching internally. Subsequent calls return the previous return value from h() for any static parts of the...
It's not possible to implement runtime error checking in a way that represents a reasonable size tradeoff. This is particularly true because 100% of the classes of error that would...
this is probably a duplicate of #56 & #122
Correct - developer ergonomic features like parse/tree errors should be implemented in an editor, not in a library paid for at runtime. I'd recommend using the [lit-html plugin](https://marketplace.visualstudio.com/items?itemName=bierner.lit-html) for VSCode....
Hiya! Multiple roots returns an Array, because that's the easiest and most efficient solution across all frameworks: ```js const root = html` Quiz ${entriesUi} `; console.log(root); [Quiz, entriesUi, , ]...
Might be worth filing a bug with React for this if it's warning in this case - key isn't useful here and that makes the warning quite misleading.