create function, with no arguments used, can be used to grab element refs (as in React's terminology) in a typesafe manner.
It's completely safe to feed xoid atoms as refs to React components as
This usage won't result in Typescript complaints. Since one of the overloads of a xoid atom is
(element: HTMLDivElement) => void, it's compatible with
Grabbing other refs
The same coding style can be used to grab events or other things.