jorgebucaran / superfine

Absolutely minimal view layer for building web interfaces
https://git.io/super
MIT License
1.56k stars 78 forks source link

recycle is missing from TypeScript definitions #157

Closed wanton7 closed 5 years ago

wanton7 commented 5 years ago

Function recycle is missing from TypeScript definitions. I would create a Pull request, but my Git skills are non existent. Out company is still using SVN :(

jorgebucaran commented 5 years ago

@wanton7 No problem. Can you post the code in this issue?

wanton7 commented 5 years ago

@jorgebucaran Here, but description might need fine tuning.

/**
 * Recycle DOM element container.
 *
 * @param {Element} container A DOM element where DOM elements are recycled from.
 **/
export function recycle(
    container: Element
): VNode
jorgebucaran commented 5 years ago

Recycle is now baked in Superfine 7. 🎉