The Static utility allows components to be rendered as static HTML.
Renders a component as static HTML.
A component object which has all of the following properties:
An updater function which can be used to modify a component's state before it is rendered. It is called with the component's initial state, and a callback (
updater(state, callback)). When the updater has finished, it should call
callback with the modified state.
See Static Rendering for more information.
updater is not supplied: (String) The rendered HTML.
updater is supplied: (Promise) A promise which resolves with the rendered HTML after the updater has been run.