Jason Miller

Results 1173 comments of Jason Miller

@iandunn hmm - we definitely can't do anything configuration-based in a library of this size. It's especially hard to justify given that benefit is effectively that a console warning stops...

@yhatt exactly! There's also a way to do this for everything rendered by Preact, including elements created via h() and JSX: ```js import { options, h, render } from 'https://unpkg.com/preact?module';...

Hiya! The `standalone.module.js` build is super convenient, but this is its achilles heel. The current easiest solution is to use a CDN that fixes this by precompiling bare specifiers to...

TBH it doesn't seem like these fit with the minimalistic philosophy of htm. They are all relatively easy to accomplish already using objects, and the resulting output (when not over-transpiled)...

This is a tough one. As you pointed out, this requires a lookup table for a portable implementation. A browser-specific implementation could leverage the DOM to transform HTML entities, but...

Just wanted to note that I've read this and am pondering what we could do to move forward. @natevw I like your point about which ones are _needed_ (vs wanted...

This is a fantastic idea and I will absolutely try to find an hour to throw something together!

This works now in the official babel REPL: https://babeljs.io/repl#?code_lz=DwEwlgbgfAhgBAMhgWwA4G44CNgHpzToBQQA&externalPlugins=babel-plugin-transform-jsx-to-htm%402.0.0

Hi @orangemug! Sorry for the super slow reply. Here's a Preact plugins that detects these typos and throws an exception right at the callsite: ```js import { options } from...