4 ms·
> I avoid the new and the shiny > (...) > import { h, Component, render } from 'https://unpkg.com/preact?module https://unpkg.com/preact?module' Will break o
by e12e 6y ago
> I avoid the new and the shiny
> (...)
> import { h, Component, render } from 'https://unpkg.com/preact?module https://unpkg.com/preact?module'
Will break on breaking changes in upstream, as no version is specified? Or am I missing something?
Ed: not to mention when unpkg goes away...
- timdaub 6y agoGood point, I think pinning a version would make sense here. import { h, Component, render } from 'https://unpkg.com/preact@10.5.10?module https://unpkg.com/preact@10.5.10?module'