As with any virtualDOM-based framework, you need to check if Reacthas rendered the DOM (or any updates to it)
before you initialize GridStack or call its methods. This example shows how to make rendered
components widgets:
Render items, each with a reference
Convert each rendered item to a widget using the reference and the
makeWidget function