Create a custom element from any component with these tiny functions (2KB GZipped, ~1KB Brotli). Preact and React currently supported
MIT License
Bot releases are hidden (Show)
Published by jahilldev over 1 year ago
[email protected]
globalThis
)ci.yml
Published by jahilldev over 2 years ago
Published by jahilldev over 2 years ago
slot
attributes, and convert to camelCaseREADME
with explicit info to avoid confusionPublished by jahilldev over 2 years ago
reactement
packagecreateElement
function during HTML parsePublished by jahilldev over 2 years ago
preactement/es5
Published by jahilldev over 2 years ago
Published by jahilldev almost 3 years ago
<br>
.README
with an important caveat to this parsing strategyPublished by jahilldev almost 3 years ago
README
intro paragraphs__mounted
flag from onConnected
Published by jahilldev almost 3 years ago
data-title
.Published by jahilldev almost 3 years ago
./dist
folder of legacy filesPublished by jahilldev almost 3 years ago
async/await
to Promise chaining. This removes the need for the regenerator runtime, significantly reducing file size.README
Published by jahilldev almost 3 years ago
<* slot="{propKey}" />
nested elementsREADME
to outline how slots workPublished by jahilldev almost 3 years ago
preact-markup
, reducing overall package weightPublished by jahilldev over 3 years ago
package.json
index.ts
Published by jahilldev over 3 years ago
package.json
Published by jahilldev over 3 years ago
props
updatePublished by jahilldev over 3 years ago
output.globalThis
property in webpack config for cross env support (node / browser)Published by jahilldev over 3 years ago
tslib
dependency to fix ES5 outputPublished by jahilldev over 3 years ago
README