Avoids having the pending text removed when re-rendering the component.
Under the hood, preact is used to reduce dependency size. We still don't have a build stage, so htm is used instead of JSX.