Current collected state Current
Observed since 20 Oct, 21:43 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Control the elements using JS
For VS Code use this extension to get syntax highlighting.
var { html } = await import("https://deno.land/x/elementalist@0.5.39/main/deno.js?code")
// create a custom component
const myAsyncCustomComponent = async ({ style, children, ...props }) => {
// load a big'ole depenency like d3
const d3 = await import('https://cdn.skypack.dev/d3')
return html`<div style=${style}>
Do you even Async?
Keys of the d3 library: ${JSON.stringify(Object.keys(d3))}
</div>`
}
// add it to the local scope
html = html.extend({myAsyncCustomComponent})
// change some elements
document.body = html`<body style="padding:1rem;">
Hello World (I render Immediately)
<br>
<myAsyncCustomComponent style='background: darkgray; color: white; padding: 1rem; border-radius: 1rem; margin: 0.3rem;' />
<br>
this ^ takes a second to render cause it has a massive async depenency
</body>`
You can also use it with JSX:
/** @jsx html */
var { html } = await import("https://deno.land/x/elementalist@0.5.34/main/deno.js?code")
// create a custom component
const myAsyncCustomComponent = async ({ style, children, ...props }) => {
// load a big'ole depenency like d3
const d3 = await import('https://cdn.skypack.dev/d3')
return <div style={style}>
Do you even Async?
Keys of the d3 library: {JSON.stringify(Object.keys(d3))}
</div>
}
// change some elements
document.body = <body style="padding:1rem;">
Hello World (I render Immediately)
<br>
<myAsyncCustomComponent style='background: darkgray; color: white; padding: 1rem; border-radius: 1rem; margin: 0.3rem;' />
<br>
this ^ takes a second to render cause it has a massive async depenency
</body>
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.5.40Registry latest | 4 Aug 2024 | 1 | |
| 0.5.39 | 4 Aug 2024 | 1 | |
| 0.0.13 | 7 Apr 2022 | 1 | |
| 0.0.12 | 5 Dec 2021 | 1 | |
| 0.0.11 | 5 Dec 2021 | 1 | |
| 0.0.10 | 5 Dec 2021 | 1 | |
| 0.0.9 | 5 Dec 2021 | 1 | |
| 0.0.8 | 5 Dec 2021 | 1 | |
| 0.0.7 | 19 Sept 2021 | 1 | |
| 0.0.6 | 19 Sept 2021 | 1 | |
| 0.0.5 | 18 Sept 2021 | 1 | |
| 0.0.4 | 18 Sept 2021 | 1 | |
| 0.0.3 | 18 Sept 2021 | 1 | |
| 0.0.2 | 18 Sept 2021 | 1 | |
| 0.0.1 | 18 Sept 2021 | 1 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 21:43 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:c5f11e99fde81e7b8b9e06571c06d3ecd428cddfa28df8872975f56beb43c3ec