hacky
hacky copied to clipboard
⚙️ Crank.js with tagged templates
Results
2
hacky issues
Sort by
recently updated
recently updated
newest added
Hey, thanks for your work on this lib. Crank.js allows components to be defined as [async generator functions](https://crank.js.org/guides/async-components). For example: ```js async function IPAddress () { const res = await...
I'd like to do something like this: ```js function* Component() { const interval = setInterval(() => { // Do something }, 1000); try { while (true) { yield html`Hi`; }...